<commit_before>// @(#)root/graf2d:$Id$
// Author: <NAME>, 19/10/2011

/*************************************************************************
 * Copyright (C) 1995-2011, <NAME> and <NAME>.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGIOS
#define ROOT_TGIOS

#ifndef ROOT_TVirtualX
#include "TVirtualX.h"
#endif

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TGIOS.                                                               //
//                                                                      //
// TVirtualX for iOS. No window management, no graphics, just have      //
// to implement correctly functions from TAttXXX base classes           //
// (TVirtualX intentionally overrides some of them and has              //
// empty implementations). But on iOS I do not have TGWin32 or          //
// TGX11 and graphic primitives try to use gVirtualX to pass            //
// different attributes like color, line width, etc. to the             //
// painting code.                                                       //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

namespace ROOT {
namespace iOS {

class TGIOS : public TVirtualX {
public:
   TGIOS();
   TGIOS(const char *name, const char *title);
   
   void SetLineColor(Color_t cindex);
   void SetLineStyle(Style_t linestyle);
   void SetLineWidth(Width_t width);
   void SetFillColor(Color_t cindex);
   void SetFillStyle(Style_t style);
   void SetMarkerColor(Color_t cindex);
   void SetMarkerSize(Float_t markersize);
   void SetMarkerStyle(Style_t markerstyle);
   void SetTextAlign(Short_t talign);
   void SetTextColor(Color_t cindex);
   void SetTextFont(Font_t fontnumber);
   void SetTextSize(Float_t textsize);
   
   void GetTextExtent(UInt_t &w, UInt_t &h, char *mess);
private:
   TGIOS(const TGIOS &rhs);
   TGIOS &operator = (const TGIOS &rhs);
};

}
}

#endif<commit_msg>Add using declaration to suppress warning about hidden function.<commit_after>// @(#)root/graf2d:$Id$
// Author: <NAME>, 19/10/2011

/*************************************************************************
 * Copyright (C) 1995-2011, <NAME> and <NAME>.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGIOS
#define ROOT_TGIOS

#ifndef ROOT_TVirtualX
#include "TVirtualX.h"
#endif

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TGIOS.                                                               //
//                                                                      //
// TVirtualX for iOS. No window management, no graphics, just have      //
// to implement correctly functions from TAttXXX base classes           //
// (TVirtualX intentionally overrides some of them and has              //
// empty implementations). But on iOS I do not have TGWin32 or          //
// TGX11 and graphic primitives try to use gVirtualX to pass            //
// different attributes like color, line width, etc. to the             //
// painting code.                                                       //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

namespace ROOT {
namespace iOS {

class TGIOS : public TVirtualX {
public:
   TGIOS();
   TGIOS(const char *name, const char *title);
   
   void SetLineColor(Color_t cindex);
   void SetLineStyle(Style_t linestyle);
   void SetLineWidth(Width_t width);
   void SetFillColor(Color_t cindex);
   void SetFillStyle(Style_t style);
   void SetMarkerColor(Color_t cindex);
   void SetMarkerSize(Float_t markersize);
   void SetMarkerStyle(Style_t markerstyle);
   void SetTextAlign(Short_t talign);
   void SetTextColor(Color_t cindex);
   void SetTextFont(Font_t fontnumber);
   void SetTextSize(Float_t textsize);
   
   void GetTextExtent(UInt_t &w, UInt_t &h, char *mess);
   
   using TVirtualX::SetTextFont;
private:
   TGIOS(const TGIOS &rhs);
   TGIOS &operator = (const TGIOS &rhs);
};

}
}

#endif
{'fraction_non_alphanumeric': 0.19507269789983844, 'fraction_numerical': 0.008481421647819063, 'mean_word_length': 1.3418439716312056, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 36, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3477029', 'n_tokens_mistral': 1194, 'n_tokens_neox': 1127, 'n_words': 337}