Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Visualization::VideoPlayerButtons::Init ( int  w,
int  h 
) [inline, private]

Definition at line 58 of file VideoPlayerButtons.h.

References OglGui::RadioGroup::Add(), DECR, FBWD, FFWD, INCR, mButtons, PLAY, PREF_H, PREF_W, RESET, OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), OglGui::OglWindow::SetDimensions(), OglGui::Button::SetRepeatMode(), and STOP.

00059     {
00060         SetDimensions(PREF_W, PREF_H);
00061         Add(mButtons[PLAY] = new Button(this,4,4,30,22,">",BEV_ETCHED,true));
00062         Add(mButtons[STOP] = new Button(this,38,4,30,22,"[]",BEV_ETCHED,true));
00063         Add(mButtons[RESET]= new Button(this,72,4,30,22,"<<",BEV_ETCHED,true));
00064         Add(mButtons[DECR] = new Button(this,106,4,30,22,"-",BEV_ETCHED,true));
00065         Add(mButtons[INCR] = new Button(this,140,4,30,22,"+",BEV_ETCHED,true));
00066         Add(mButtons[FBWD] = new Button(this,174,4,30,22,"FB",BEV_ETCHED,true));
00067         Add(mButtons[FFWD] = new Button(this,208,4,30,22,"FF",BEV_ETCHED,true));
00068         ScaleChildren();
00069         SetAllowChildScaling(false);
00070         SetDimensions(w, h);
00071 
00072         mButtons[INCR]->SetRepeatMode(true);
00073         mButtons[DECR]->SetRepeatMode(true);
00074     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:28 2011 for ImpalaSrc by  doxygen 1.5.1