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

void OglGui::CheckBoxValueBar::Init ( int  w,
int  h,
strconst  str,
ULONG  color,
int  cbW,
bool  menu 
) [inline, private]

Definition at line 54 of file CheckBoxValueBar.h.

References mChBox, mMenuBtn, mValueBar, mValueText, OglGui::StaticText::SetAlign(), OglGui::OglWindow::SetBackground(), OglGui::OglWindow::SetBorderBackground(), OglGui::OglWindow::SetBorderFillShaded(), OglGui::OglWindow::SetBorderType(), OglGui::CheckBox::SetBoxFrameType(), OglGui::DirectionButton::SetDirectionFeedback(), OglGui::Window::SetDoStateFeedback(), OglGui::CheckBox::SetRoundedCheck(), and OglGui::Window::Window().

00055     {
00056         mChBox = new CheckBox(this,0,0,cbW,h,str,false,BEV_ETCHED);
00057         mChBox->SetRoundedCheck(false);
00058         mChBox->SetBoxFrameType(BEV_ETCHED);
00059         mChBox->SetBorderFillShaded(0);
00060         mChBox->SetBorderBackground(color);
00061         mChBox->SetDoStateFeedback(false);
00062 
00063         mMenuBtn = 0;
00064         if (menu)
00065         {
00066             mMenuBtn = new DirectionButton(mChBox,cbW-h+3,3,h-6,h-6,0);
00067             mMenuBtn->SetDirectionFeedback(true);
00068         }
00069 
00070         mValueText = new StaticText(this,cbW,0,50,h,"");
00071         mValueText->SetAlign(oglLeftAlign, oglCenterAlign);
00072 
00073         mValueBar = new Window(this,cbW+52,2,20,h-4);
00074         mValueBar->SetBackground(color);
00075         mValueBar->SetBorderType(BEV_RAISED);
00076     }

Here is the call graph for this function:


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