Changeset 1974 in Sophya


Ignore:
Timestamp:
Apr 30, 2002, 6:30:53 PM (23 years ago)
Author:
ansari
Message:

Ajout methode PIDrawer::GetOptionsHelpInfo() - Reza 30/4/2002

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pidrawer.cc

    r1970 r1974  
    316316}
    317317
     318void
     319PIDrawer::GetOptionsHelpInfo(string& info)
     320{
     321  info += " ------- PIDrawer options help info ---------- \n";
     322  info += ">> Colors: defcol black white grey red blue green yellow \n";
     323  info += "           magenta cyan turquoise navyblue orange siennared purple \n";
     324  info += "           limegreen gold violet violetred blueviolet darkviolet \n";
     325  info += ">> Lines:  defline normalline thinline thickline dashedline thindashedline \n";
     326  info += "           thickdashedline dottedline thindottedline thickdottedline \n";
     327  info += ">> Font Att: deffontatt normalfont boldfont italicfont bolditalicfont  \n";
     328  info += "             smallfont smallboldfont smallitalicfont smallbolditalicfont \n";
     329  info += "             bigfont bigboldfont bigitalicfont bigbolditalicfont \n";
     330  info += "             hugefont  hugeboldfont hugeitalicfont hugebolditalicfont \n";
     331  info += ">> Font Names: deffont courierfont helveticafont timesfont symbolfont  \n";
     332  info += ">> Marker: dotmarker<S>  plusmarker<S>  crossmarker<S> circlemarker <S> \n";
     333  info += "           fcirclemarker<S> boxmarker<S> fboxmarker<S> trianglemarker<S> \n";
     334  info += "           ftrianglemarker<S>  starmarker<S>  fstarmarker<S> \n";
     335  info += "   with <S> = 1 3 5 7 9 , Example fboxmarker5 , plusmarker9 ... \n";
     336  info += ">> ColorTables: defcmap  grey32  invgrey32  colrj32  colbr32 \n";
     337  info += "                grey128  invgrey128  colrj128  colbr128 \n";
     338  info += "                midas_pastel midas_heat midas_rainbow3 midas_bluered\n";
     339  info += "                midas_bluewhite midas_redwhite \n";
     340  info += "                rainbow16 \n";
     341  info += "   revcmap : This flag reverses ColorMap indexing \n";
     342  return;
     343}
     344
    318345PIGraphicUC*
    319346PIDrawer::SetDrwWdg(PIBaseWdgGen* drw, int x0, int y0, int dx, int dy, PIGraphicGen* g)
  • trunk/SophyaPI/PI/pidrawer.h

    r1946 r1974  
    9393//   Methode permettant de decoder des options a partir de chaines
    9494  virtual int        DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
     95//   Texte d'aide des options disponibles
     96  virtual void       GetOptionsHelpInfo(string& info);
    9597
    9698//   On peut donner un nom a un drawer (par defaut = nom de la classe)
Note: See TracChangeset for help on using the changeset viewer.