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

Window* Impala::Application::IDash::ScreenBrowser::StillsAnimationControl ( Window wnd,
int  x,
int  y,
int  w,
int  h 
) [inline, private]

Definition at line 201 of file ScreenBrowserX.h.

References AddRadioBtn(), BTN_STILL_DELAY_MIN, BTN_STILL_DELAY_PLUS, mCenterVideoCheckBox, mRadioAutoStills, RADIOGROUP_AUTOSTILLS, OglGui::Window::RepositionViewports(), OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), and OglGui::RadioGroup::SetRadioListener().

Referenced by DoControlsPane().

00202     {
00203         mRadioAutoStills = new RadioGroup(wnd,x,y,w,h);
00204         mRadioAutoStills->SetRadioListener(this,RADIOGROUP_AUTOSTILLS);
00205         (new StaticText(mRadioAutoStills,4,h-20,140,20,"Stills animation:"))
00206             ->SetAlign(oglLeftAlign);
00207         new StaticText(mRadioAutoStills,w-230,h-20,60,18,"Delay:");
00208 
00209         (new Button(mRadioAutoStills,w-170,h-20,20,18,"-",BEV_ETCHED,true))
00210             ->SetButtonListener(this,BTN_STILL_DELAY_MIN);
00211         (new Button(mRadioAutoStills,w-150,h-20,20,18,"+",BEV_ETCHED,true))
00212             ->SetButtonListener(this,BTN_STILL_DELAY_PLUS);
00213         mCenterVideoCheckBox = new CheckBox(mRadioAutoStills,w-120,h-20,
00214                                             116,20,"VideoCenter",false);
00215         //mCenterVideoCheckBox->SetCheckBoxListener(this);
00216         new Strut(mRadioAutoStills,1000,h-32);
00217         int btnW = (w-25) / 5;
00218         AddRadioBtn(mRadioAutoStills,"None",btnW);
00219         AddRadioBtn(mRadioAutoStills,"Center",btnW);
00220         AddRadioBtn(mRadioAutoStills,"Local",btnW);
00221         AddRadioBtn(mRadioAutoStills,"Active",btnW);
00222         AddRadioBtn(mRadioAutoStills,"All",btnW);
00223         mRadioAutoStills->RepositionViewports();
00224         mRadioAutoStills->ScaleChildren(0,1);
00225         mRadioAutoStills->SetAllowChildScaling(false);
00226         return mRadioAutoStills;
00227     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:40:44 2010 for ImpalaSrc by  doxygen 1.5.1