Changeset 123 in Sophya
- Timestamp:
- Jul 21, 1998, 12:44:42 PM (27 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pitestapp.cc
r110 r123 116 116 bouton4 = new PIButton(this->MainWin(), "Dialog", 333, 40, 25, 200, 120); 117 117 bouton5 = new PIButton(this->MainWin(), "ScDraw", 433, 40, 25, 260, 120); 118 scl = new PIScale(this->MainWin(), "Scale", 88, true, 100, 20, 10, 150);118 scl = new PIScale(this->MainWin(), "Scale", 88, kSDirRtoL, 100, 20, 10, 150); 119 119 scl->SetMinMax(5, 45); 120 120 zoom = new PIPixmap(this->MainWin(), "Zoom", 100,100,5,195); … … 357 357 358 358 if (msg == 8811) printf("PITestApp::Process(8811) ScrollBar( %d ) \n", *( (int*)data) ); 359 else if (msg == 8821) printf("PITestApp::Process(8821) ScrollBar( %d ) \n", *( (int*)data) ); 359 360 360 361 } … … 406 407 wp5->YSize(), scs2->XSize(), scs2->YSize(),scs2->XPos(), scs2->YPos() ); 407 408 408 scb = new PIScrollBar(wp5, "ScBar", 8811, true, 15, 420, 405, 0);409 scb = new PIScrollBar(wp5, "ScBar", 8811, kSDirUpDown, 15, 420, 405, 0); 409 410 scb->SetBinding(PIBK_free,PIBK_fixed,PIBK_fixed,PIBK_fixed); 410 411 scb->ActivateDrag(true); 411 scb2 = new PIScrollBar(wp5, "ScBar", 8821, false, 420, 15, 0, 425);412 scb2 = new PIScrollBar(wp5, "ScBar", 8821, kSDirRtoL, 420, 15, 0, 425); 412 413 scb2->SetBinding(PIBK_fixed,PIBK_free,PIBK_fixed,PIBK_fixed); 413 414
Note:
See TracChangeset
for help on using the changeset viewer.