Changeset 203 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Feb 26, 1999, 3:18:56 PM (27 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pihisto.cc
r165 r203 42 42 bool oktrace = false; 43 43 if (!mHisto) return; 44 44 45 if (mMrk != PI_NotDefMarker || mHisto->ClassId() == HProf::classId ) { 45 46 // Marqeurs definis OU HBProf => marqueurs+Erreurs si il y en a … … 92 93 } 93 94 } 95 // A faire a la fin - DrawStats change l'attribut de ligne 94 96 DrawStats(g); 95 97 } … … 99 101 { 100 102 if (!mHisto) return; 101 if (mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 103 // if (mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 104 g->SelLine(PI_ThinLine); 102 105 float cellHeight = (YMax() - YMin()) * 0.05; 103 106 float cellWidth = (XMax() - XMin()) * 0.23; -
trunk/SophyaPI/PIext/pistdimgapp.cc
r194 r203 188 188 mCmapid = CMAP_OTHER; 189 189 mZoom = 0; 190 mAxesFlags = kBoxAxes | kExtTicks | kLabels; 190 191 SaveGraphicAtt(); 191 192 … … 440 441 scw->SetBinding(PIBK_elastic, PIBK_elastic, PIBK_elastic, PIBK_elastic); 441 442 scw->SetUserData(NULL, flag); 443 scw->SetAxesFlags(mAxesFlags); 444 442 445 if (!h2d) scw->AddScDrawer(scd, true); 443 446 else ((PIH2DWdg*)scw)->SetPIHisto((PIHisto2D*)scd); … … 1139 1142 mZoom = zoom; 1140 1143 } 1144 /* --Methode-- */ 1145 void PIStdImgApp::SetAxesAtt(unsigned int axfl) 1146 { 1147 mAxesFlags = axfl; 1148 } 1141 1149 1142 1150 /* --Methode-- */ … … 1152 1160 mSCmapid = mCmapid; 1153 1161 mSZoom = mZoom; 1162 mSAxesFlags = mAxesFlags; 1154 1163 } 1155 1164 … … 1166 1175 mCmapid = mSCmapid; 1167 1176 mZoom = mSZoom; 1168 } 1177 mAxesFlags = mSAxesFlags; 1178 } -
trunk/SophyaPI/PIext/pistdimgapp.h
r194 r203 91 91 void SetColMapId(CMapId cid=CMAP_OTHER); 92 92 void SetZoomAtt(int zoom=0); 93 void SetAxesAtt(unsigned int axfl=kBoxAxes | kExtTicks | kLabels); 93 94 // Pour sauvegarder-restauration de l'etat des attributs graphiques 94 95 void SaveGraphicAtt(); … … 156 157 CMapId mCmapid, mSCmapid; 157 158 int mZoom, mSZoom; 159 unsigned int mAxesFlags, mSAxesFlags; 158 160 159 161 PIMessage mFCMsg; // Message for processing FileOpen -
trunk/SophyaPI/PIext/servnobjm.cc
r194 r203 456 456 it = GrAzoom.find(grt[k]); 457 457 if (it != GrAzoom.end()) { mImgapp->SetZoomAtt( (*it).second.a1 ); fgsrgr = true; continue; } 458 // Si c'est un attribut d'axe 459 it = GrAaxes.find(grt[k]); 460 if (it != GrAaxes.end()) { mImgapp->SetAxesAtt( (*it).second.a1 ); fgsrgr = true; continue; } 458 461 459 462 } … … 754 757 GrAcmap["colbr128"] = gi; 755 758 756 // L es tables de couleurs759 // La valeur de zoom 757 760 gi.a2 = 0; 758 761 gi.a1 = 0; … … 776 779 gi.a1 = -5; 777 780 GrAzoom["zoom/5"] = gi; 778 779 } 781 782 // Attributs d'axes 783 gi.a2 = 0; 784 gi.a1 = (int)(kBoxAxes | kExtTicks | kLabels); 785 GrAaxes["stdaxes"] = gi; 786 GrAaxes["defaxes"] = gi; 787 GrAaxes["boxaxes"] = gi; 788 gi.a1 = (int)kAxesDflt; 789 GrAaxes["simpleaxes"] = gi; 790 gi.a1 = (int)(kBoxAxes | kExtTicks | kLabels | kGridOn); 791 GrAaxes["boxaxesgrid"] = gi; 792 793 gi.a1 = (int)(kBoxAxes | kTicks | kLabels | kMinTicks | kMajTicks); 794 GrAaxes["fineaxes"] = gi; 795 gi.a1 = (int)(kBoxAxes | kTicks | kLabels | kMinTicks | kMajTicks | kGridOn); 796 GrAaxes["grid"] = gi; 797 GrAaxes["fineaxesgrid"] = gi; 798 799 } -
trunk/SophyaPI/PIext/servnobjm.h
r171 r203 57 57 GrAttNames GrAcmap; 58 58 GrAttNames GrAzoom; 59 GrAttNames GrAaxes; 59 60 60 61 PDynLinkMgr * dynlink; // shared-lib lib.so
Note:
See TracChangeset
for help on using the changeset viewer.