Changeset 543 in Sophya for trunk/SophyaPI
- Timestamp:
- Nov 3, 1999, 7:17:44 PM (26 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pidrawer.cc
r537 r543 113 113 } 114 114 if (xmax <= xmin || ymax <= ymin) { 115 cerr << "PIDrawer::SetLimits() Error - xmax <= xmin || ymax <= ymin ! " << endl;115 // cerr << "PIDrawer::SetLimits() Error - xmax <= xmin || ymax <= ymin ! " << endl; 116 116 return; 117 117 } … … 495 495 double xOffset = 0; 496 496 int kk; 497 g->SelFontSz(xMajTickLen*4. );497 g->SelFontSz(xMajTickLen*4., mFAtt); 498 498 for (double x=xBeg; x<=xMax; x += xStep) { 499 499 // Attention aux erreurs d'arrondi quand x->0 … … 519 519 { 520 520 double xOffset = 0; 521 g->SelFontSz(xMajTickLen*4. );521 g->SelFontSz(xMajTickLen*4., mFAtt); 522 522 for (double y=yBeg; y<=yMax; y += yStep) { 523 523 double yy = (fabs(y/yStep)<1.e-5) ? 0.: y; -
trunk/SophyaPI/PI/piperiodx.cc
r190 r543 1 // Module PI : Peida Interactive PIPeriodX 2 // Classe d'objets periodiques - X11 - R. Ansari 96-98 3 // LAL (Orsay) / IN2P3-CNRS DAPNIA/CEA (Saclay) 4 1 5 #include "piwdgx.h" 2 6 #include "piperiodx.h" 7 8 //++ 9 // Class PIPeriodic 10 // Lib PI 11 // include piperiodx.h 12 // 13 // Classe d'objets avec une méthode "DoPeriodic()" appelée périodiquement 14 // à intrevalle régulier. Implémentation de la classe "Periodic" compatible 15 // avec la boucle d'événements. 16 //-- 17 //++ 18 // Links Parents 19 // Periodic 20 //-- 21 22 //++ 23 // Titre Constructeur 24 // Voir la classe "Periodic" pour les méthodes. 25 //-- 26 //++ 27 // Periodic(int dt, UsPeriodicAction act=NULL, void * usp=NULL) 28 // Constructeur avec un intervalle de temps en secondes "dt". 29 // Il est possible de spécifier une fonction "UsPeriodicAction" avec 30 // un argument "usp" qui sera appelée régulierement. 31 //-- 3 32 4 33 /* Nouvelle-Fonction */
Note:
See TracChangeset
for help on using the changeset viewer.