Changeset 123 in Sophya for trunk/SophyaPI


Ignore:
Timestamp:
Jul 21, 1998, 12:44:42 PM (27 years ago)
Author:
ercodmgr
Message:

Pour test CVS No3 Reza 22/07/98

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pitestapp.cc

    r110 r123  
    116116  bouton4 = new PIButton(this->MainWin(), "Dialog", 333, 40, 25, 200, 120);
    117117  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);
    119119  scl->SetMinMax(5, 45);
    120120  zoom = new PIPixmap(this->MainWin(), "Zoom", 100,100,5,195);
     
    357357
    358358  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) );
    359360
    360361}
     
    406407         wp5->YSize(), scs2->XSize(), scs2->YSize(),scs2->XPos(), scs2->YPos() );
    407408
    408   scb = new PIScrollBar(wp5, "ScBar", 8811, true, 15, 420, 405, 0);
     409  scb = new PIScrollBar(wp5, "ScBar", 8811, kSDirUpDown, 15, 420, 405, 0);
    409410  scb->SetBinding(PIBK_free,PIBK_fixed,PIBK_fixed,PIBK_fixed);
    410411  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);
    412413  scb2->SetBinding(PIBK_fixed,PIBK_free,PIBK_fixed,PIBK_fixed);
    413414
Note: See TracChangeset for help on using the changeset viewer.