Changeset 1899 in Sophya for trunk/SophyaPI/PI/pigraphgen.h


Ignore:
Timestamp:
Feb 13, 2002, 12:03:15 PM (24 years ago)
Author:
ansari
Message:

Fin implementation trace texte vertical (PIGraphX, PIGraphPS, PSFile)
Debut de modification de gestion des Drawer (AutoDeleteOndetach, ...)

Reza 13/02/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pigraphgen.h

    r1898 r1899  
    164164  virtual void       DrawOpaqueString(PIGrCoord x, PIGrCoord y, const char* s, unsigned long pos = 0) = 0;
    165165  virtual void       DrawCompString(PIGrCoord x, PIGrCoord y, const char* s,
    166                                     const char* s_up, const char* s_dn, unsigned long pos = 0);
     166                                    const char* s_up, const char* s_dn,
     167                                    PIFont const & fntss, unsigned long pos = 0);
     168  inline  void       DrawCompString(PIGrCoord x, PIGrCoord y, const char* s,
     169                                    const char* s_up, const char* s_dn,
     170                                    unsigned long pos = 0)
     171                     { DrawCompString(x, y, s, s_up, s_dn, GetFont(), pos); }
    167172
    168173  virtual void       DrawLine(PIGrCoord x1, PIGrCoord y1, PIGrCoord x2, PIGrCoord y2)  = 0;
     
    200205  virtual void       SelArrowMarker(int arrsz=5,
    201206                                    PIArrowMarker arrmrk=PI_BasicArrowMarker);
     207
     208  inline  void       LockForegroundColor() { myLockFCol = true; }
     209  inline  void       UnLockForegroundColor() { myLockFCol = false; }
     210
    202211// Modifications de fonte
    203212  virtual void       SelFont(PIFont & fnt)                                     = 0;
     
    248257  PIArrowMarker sArrowMrk;
    249258  int sArrowMrkSz;
    250 
     259  bool myLockFCol;
    251260};
    252261
Note: See TracChangeset for help on using the changeset viewer.