Changeset 201 in Sophya for trunk/SophyaPI
- Timestamp:
- Feb 26, 1999, 11:19:46 AM (27 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pidrawer.cc
r200 r201 226 226 } 227 227 228 static void BestTicks(float rmin,float rmax,int nticks,float& majt) 228 /* --Methode-Static-- */ 229 void PIDrawer::BestTicks(float rmin,float rmax,int nticks,float& majt) 229 230 { 230 231 double d = rmax - rmin; -
trunk/SophyaPI/PI/pidrawer.h
r200 r201 64 64 65 65 void SelGraAtt(PIGraphicUC* g); 66 67 // --- Methode static ---- 68 // Calcul des Distances optimales des subdivisions 69 static void BestTicks(float rmin,float rmax,int nticks,float& majt); 66 70 67 71 // Les objets/methodes suivants devraient etre protected -
trunk/SophyaPI/PI/pidrwtools.cc
r190 r201 253 253 } 254 254 255 // Declaration des differents attributs graphiques 256 static PIColors cols[17] = { PI_NotDefColor, 257 PI_Black, PI_White, PI_Grey, 258 PI_Red, PI_Blue, PI_Green, 259 PI_Yellow, PI_Magenta, 260 PI_Cyan , PI_Turquoise, PI_NavyBlue, 261 PI_Orange, PI_SiennaRed, PI_Purple, 262 PI_LimeGreen, PI_Gold }; 263 264 static PIMarker mrk[12] = { PI_NotDefMarker, PI_DotMarker, 265 PI_PlusMarker, PI_CrossMarker, 266 PI_CircleMarker, PI_FCircleMarker, 267 PI_BoxMarker, PI_FBoxMarker, 268 PI_TriangleMarker, PI_FTriangleMarker, 269 PI_StarMarker, PI_FStarMarker }; 270 static PILineAtt line[10] = { PI_NotDefLineAtt, PI_ThinLine, PI_NormalLine, PI_ThickLine, 271 PI_ThinDashedLine, PI_DashedLine, PI_ThickDashedLine, 272 PI_ThinDottedLine, PI_DottedLine, PI_ThickDottedLine }; 273 274 static PIFontAtt fntatt[4] = { PI_NotDefFontAtt, PI_RomanFont, PI_BoldFont, PI_ItalicFont }; 275 static PIFontSize fntsz[5] = { PI_NotDefFontSize, PI_NormalSizeFont, PI_SmallSizeFont, 276 PI_BigSizeFont, PI_HugeSizeFont }; 277 static CMapId cmap[11] = { CMAP_OTHER, CMAP_GREY32, CMAP_GREYINV32, 278 CMAP_COLRJ32, CMAP_COLBR32, CMAP_COLRV32, 279 CMAP_GREY128, CMAP_GREYINV128, CMAP_COLRJ128, CMAP_COLBR128, CMAP_COL16 }; 280 255 281 /* --Methode-- */ 256 282 void PIDrwTools::Show() … … 294 320 void PIDrwTools::Process(PIMessage msg, PIMsgHandler* /*sender*/, void* /*data*/) 295 321 { 296 PIColors cols[17] = { PI_NotDefColor,297 PI_Black, PI_White, PI_Grey,298 PI_Red, PI_Blue, PI_Green,299 PI_Yellow, PI_Magenta,300 PI_Cyan , PI_Turquoise, PI_NavyBlue,301 PI_Orange, PI_SiennaRed, PI_Purple,302 PI_LimeGreen, PI_Gold };303 304 PIMarker mrk[12] = { PI_NotDefMarker, PI_DotMarker,305 PI_PlusMarker, PI_CrossMarker,306 PI_CircleMarker, PI_FCircleMarker,307 PI_BoxMarker, PI_FBoxMarker,308 PI_TriangleMarker, PI_FTriangleMarker,309 PI_StarMarker, PI_FStarMarker };310 PILineAtt line[10] = { PI_NotDefLineAtt, PI_ThinLine, PI_NormalLine, PI_ThickLine,311 PI_ThinDashedLine, PI_DashedLine, PI_ThickDashedLine,312 PI_ThinDottedLine, PI_DottedLine, PI_ThickDottedLine };313 314 PIFontAtt fntatt[4] = { PI_NotDefFontAtt, PI_RomanFont, PI_BoldFont, PI_ItalicFont };315 PIFontSize fntsz[5] = { PI_NotDefFontSize, PI_NormalSizeFont, PI_SmallSizeFont,316 PI_BigSizeFont, PI_HugeSizeFont };317 CMapId cmap[11] = { CMAP_OTHER, CMAP_GREY32, CMAP_GREYINV32,318 CMAP_COLRJ32, CMAP_COLBR32, CMAP_COLRV32,319 CMAP_GREY128, CMAP_GREYINV128, CMAP_COLRJ128, CMAP_COLBR128, CMAP_COL16 };320 322 321 323 msg = UserMsg(msg);
Note:
See TracChangeset
for help on using the changeset viewer.