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

void OglGui::RgbSliderDialog::Init ( int  w,
int  h,
bool  shaded 
) [inline, private]

Definition at line 41 of file RgbSliderDialog.h.

References OglGui::OglWindow::H(), mCancelBtn, mOkBtn, mRgbSlider, PREF_H, PREF_W, OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), OglGui::OglWindow::SetBorderType(), OglGui::OglWindow::SetDimensions(), and OglGui::OglWindow::W().

00042     {
00043         SetBorderType(BEV_ETCHED);
00044         SetDimensions(PREF_W, PREF_H);
00045 
00046         mRgbSlider = new RgbSlider(this,0,30,W(),H()-30,shaded);
00047         mRgbSlider->SetBorderType(-1);
00048 
00049         int btnW = W()/2-8;
00050         mOkBtn = new Button(this,4,4,btnW,26,"OK",BEV_ETCHED, true);
00051         int x = W()/2+4;
00052         mCancelBtn = new Button(this,x,4,btnW,26,"Cancel",BEV_ETCHED,true);
00053 
00054         ScaleChildren();
00055         SetAllowChildScaling(false);
00056         SetDimensions(w,h);
00057     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:45 2011 for ImpalaSrc by  doxygen 1.5.1