Ignore:
Timestamp:
04/07/03 15:34:51 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.cc

    r1668 r1910  
    7777    fTab1->AddFrame(fPixelList, layplist);
    7878
    79     TGVerticalFrame *fMidFrame = new TGVerticalFrame(fTab1, 300, 100);
    80     fList->Add(fMidFrame);
     79    TGVerticalFrame *midframe = new TGVerticalFrame(fTab1, 300, 100);
     80    fList->Add(midframe);
    8181
    8282    TGLayoutHints *laytab = new TGLayoutHints(kLHintsRight|kLHintsExpandY, 5, 5, 5, 5);
    8383    fList->Add(laytab);
    8484
    85     fTab1->AddFrame(fMidFrame, laytab);
     85    fTab1->AddFrame(midframe, laytab);
    8686
    8787    //
    8888    // Create gui elements for vertical frame
    8989    //
    90     TGTextButton *prevpix = new TGTextButton(fMidFrame, "<< Prev Pixel", M_PREVPIXEL);
    91     TGTextButton *nextpix = new TGTextButton(fMidFrame, "Next Pixel >>", M_NEXTPIXEL);
     90    TGTextButton *prevpix = new TGTextButton(midframe, "<< Prev Pixel", M_PREVPIXEL);
     91    TGTextButton *nextpix = new TGTextButton(midframe, "Next Pixel >>", M_NEXTPIXEL);
    9292    prevpix->Associate(this);
    9393    nextpix->Associate(this);
    9494
    95     TGVSlider *slider = new TGVSlider(fMidFrame, 200, kSlider1|kScaleBoth);
     95    TGVSlider *slider = new TGVSlider(midframe, 200, kSlider1|kScaleBoth);
    9696    slider->Associate(this);
    9797    slider->SetRange(0, 576);
     
    103103    TGLayoutHints *layslider = new TGLayoutHints(kLHintsCenterX|kLHintsExpandY);
    104104
    105     fMidFrame->AddFrame(prevpix, laybut);
    106     fMidFrame->AddFrame(slider,  layslider);
    107     fMidFrame->AddFrame(nextpix, laybut);
     105    midframe->AddFrame(prevpix, laybut);
     106    midframe->AddFrame(slider,  layslider);
     107    midframe->AddFrame(nextpix, laybut);
    108108}
    109109
Note: See TracChangeset for help on using the changeset viewer.