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

SizableDirectionButton* OglGui::IntervalChooser::MakeThumb ( Window parent,
int  x,
int  y,
int  w,
int  h,
ULONG  col,
ULONG  hCol 
) [inline, protected]

Definition at line 174 of file IntervalChooser.h.

References OglGui::SizableWindow::AllDir, OglGui::SizableDirectionButton::DirButton(), OglGui::SizableWindow::EastWest, OglGui::SizableWindow::SetAllowHighlight(), OglGui::SizableWindow::SetAllowMoveDirections(), OglGui::SizableWindow::SetAllowSizeDirections(), OglGui::SizableWindow::SetBorderType(), OglGui::SizableDirectionButton::SetColors(), OglGui::DirectionButton::SetFilled(), and OglGui::SizableWindow::SetHighLightBorderType().

Referenced by Init().

00175     {
00176         SizableDirectionButton* szBtn =
00177             new SizableDirectionButton(parent,x,y,w,h,1,0);
00178         szBtn->SetBorderType(0);
00179 
00180         // If col and highlight col are the same: show highlighted as button
00181         szBtn->SetHighLightBorderType(col==hCol?BEV_RAISED:0);
00182         szBtn->SetAllowHighlight(false);
00183         
00184         szBtn->SetAllowMoveDirections(SizableWindow::AllDir,false);
00185         szBtn->SetAllowMoveDirections(SizableWindow::EastWest,true);
00186         szBtn->SetAllowSizeDirections(SizableWindow::AllDir,false);
00187         szBtn->DirButton()->SetFilled(true);
00188         szBtn->SetColors(col,hCol);
00189         return szBtn;
00190     }

Here is the call graph for this function:


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