Changeset 120 in Sophya for trunk/SophyaPI/PI/piwdgx.cc
- Timestamp:
- Jul 15, 1998, 7:08:53 PM (27 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piwdgx.cc
r114 r120 115 115 /* --Methode-- */ 116 116 int PIWdgX::CreateXtWdg(char *nom, SysDWdgClass wdgcl, SysDWdg pwdg, 117 int sx, int sy, int px, int py )118 { 119 Arg wargs[ 5];117 int sx, int sy, int px, int py, Arg* oarg, int na) 118 { 119 Arg wargs[20]; 120 120 int n=0; 121 121 … … 139 139 XtSetArg(wargs[n],XtNx,px); n++; 140 140 XtSetArg(wargs[n],XtNy,py); n++; 141 142 if (na > 16) { printf("PIWdgX::CreateXtWdg()/Warning: na=%d > Max=16 \n", na); na = 16; } 143 for(int kk=0; kk<na; kk++) { wargs[n] = oarg[kk]; n++; } 141 144 142 145 if (wdgcl == NULL) wdgcl = coreWidgetClass;
Note:
See TracChangeset
for help on using the changeset viewer.