Changeset 136 in Sophya for trunk/SophyaPI
- Timestamp:
- Aug 17, 1998, 11:05:05 AM (27 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piapplx.cc
r135 r136 222 222 static XtInputId inputid[2]; 223 223 static int origfiledes[2]={-1, -1}; // descripteurs de fichiers de depart 224 static bool firstcall[2]={true, true}; // 1er appel a Redirect225 224 226 225 static void redirectstream_callback(XtPointer cld, int * fd, XtInputId* /*iid*/) -
trunk/SophyaPI/PI/pidrawer.cc
r120 r136 210 210 { 211 211 g->NoClip(); 212 if (mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 213 else g->SelLine(mLAtt); 212 214 unsigned int flags = axesFlags; 213 215 if (flags & kStdAxes) { -
trunk/SophyaPI/PI/pihisto.cc
r120 r136 29 29 { 30 30 if (!mHisto) return; 31 for (int i=0; i<mHisto->NBins(); i++) { 31 if (mLAtt != PI_NotDefLineAtt) { 32 float x1,y1, x2, y2; 33 x1 = mHisto->BinLowEdge(0); 34 y1 = 0; 35 for (int i=0; i<mHisto->NBins(); i++) { 36 x2 = x1; 37 y2 = (*mHisto)(i); 38 g->DrawLine(x1,y1, x2, y2); 39 y1 = y2; 40 x2 = mHisto->BinHighEdge(i); 41 g->DrawLine(x1,y1, x2, y2); 42 x1 = x2; 43 } 44 y2 = 0; g->DrawLine(x1,y1, x2, y2); 45 } 46 else for (int i=0; i<mHisto->NBins(); i++) { 32 47 float left = mHisto->BinLowEdge(i); 33 48 float width = mHisto->BinWidth(); … … 44 59 { 45 60 if (!mHisto) return; 61 if (mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 46 62 float cellHeight = (YMax() - YMin()) * 0.05; 47 63 float cellWidth = (XMax() - XMin()) * 0.23; -
trunk/SophyaPI/PI/pintuple.cc
r133 r136 66 66 { 67 67 float xp,yp,xer,yer; 68 char buff[128];69 68 int nok; 70 69 -
trunk/SophyaPI/PI/piwdgx.cc
r135 r136 182 182 printf("Debug_PIWdgX::~PIWdgX() %lx %lx \n", (long)this, (long)sdw); 183 183 #endif 184 UnManage(); 184 185 if (curselwdg == this) { SelectionLost(); curselwdg = NULL; } 185 186 if (!sdw) XtDestroyWidget(sdw);
Note:
See TracChangeset
for help on using the changeset viewer.