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

void Impala::Visualization::VideoJpgPlayerControl::Init ( int  w,
int  h,
VideoJpgPlayer videoJpgPlayer 
) [inline, private]

Definition at line 110 of file VideoJpgPlayerControl.h.

References OglGui::RadioGroup::Add(), mFBwdButton, mFFwdButton, mNextButton, mPlayButton, mPrevButton, mResetButton, mStopButton, OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), OglGui::OglWindow::SetDimensions(), OglGui::RadioGroup::SetRadioListener(), OglGui::Button::SetRepeatMode(), and SetVideoJpgPlayer().

00111     {
00112         SetDimensions(242, 30);
00113         SetVideoJpgPlayer(videoJpgPlayer);
00114         Add(mPlayButton  = new Button(this, 4,   4, 30, 24, ">"));
00115         Add(mStopButton  = new Button(this, 38,  4, 30, 24, "[]"));
00116         Add(mResetButton = new Button(this, 72,  4, 30, 24, "<<"));
00117         Add(mNextButton  = new Button(this, 106, 4, 30, 24, "+"));
00118         Add(mPrevButton  = new Button(this, 140, 4, 30, 24, "-"));
00119         Add(mFFwdButton  = new Button(this, 174, 4, 30, 24, "FF")); 
00120         Add(mFBwdButton  = new Button(this, 208, 4, 30, 24, "FB")); 
00121         ScaleChildren();
00122         this->SetAllowChildScaling(false);
00123         SetDimensions(w, h);
00124 
00125         mNextButton->SetRepeatMode(true);
00126         mPrevButton->SetRepeatMode(true);
00127         //mNextButton->SetRepeatMode(false); // sk: prevent stepping 2 frames a time while debugging
00128         //mPrevButton->SetRepeatMode(false);
00129 
00130         SetRadioListener(this);
00131     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:49:42 2010 for ImpalaSrc by  doxygen 1.5.1