Changeset 194 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Feb 11, 1999, 5:52:48 PM (27 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pistdimgapp.cc
r191 r194 319 319 } 320 320 321 321 /* --Methode-- */ 322 void PIStdImgApp::SetReady() 323 { 324 mCons->SetSensitive(); 325 gimv->SetSensitive(); 326 PIApplication::SetReady(); 327 } 328 329 /* --Methode-- */ 330 void PIStdImgApp::SetBusy() 331 { 332 mCons->SetUnSensitive(); 333 gimv->SetUnSensitive(); 334 PIApplication::SetBusy(); 335 } 336 337 /* --Methode-- */ 338 void PIStdImgApp::SetBlocked() 339 { 340 mCons->SetUnSensitive(); 341 gimv->SetUnSensitive(); 342 PIApplication::SetBlocked(); 343 } 322 344 323 345 -
trunk/SophyaPI/PIext/pistdimgapp.h
r165 r194 42 42 43 43 virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL); 44 virtual void SetReady(); 45 virtual void SetBusy(); 46 virtual void SetBlocked(); 44 47 45 48 int DispImage(P2DArrayAdapter* nouv, string const & name, int opt); -
trunk/SophyaPI/PIext/servnobjm.cc
r192 r194 370 370 char tsep[2] = {'.', '\0'}; 371 371 size_t p = fn.find_last_of(fsep); 372 size_t q = fn.find_last_of(tsep); 373 if (p < 0) p = 0; 374 p++; 375 if (q < p) q = fn.length(); 372 size_t l = fn.length(); 373 if (p >= l) p = 0; 374 else p++; 375 size_t q = fn.find_first_of(tsep,p); 376 if (q < p) q = l; 376 377 return(fn.substr(p,q-p)); 377 378 }
Note:
See TracChangeset
for help on using the changeset viewer.