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

SizableStaticText* OglGui::ColumnHeaders::MakeHeader ( Window parent,
int  x,
int  y,
int  w,
int  h,
strconst  title 
) [inline, protected]

Definition at line 89 of file ColumnHeaders.h.

References OglGui::SizableWindow::AllDir, OglGui::SizableWindow::East, OglGui::SizableStaticText::GetStaticText(), OglGui::StaticText::SetAlign(), OglGui::StaticText::SetAlignOffsets(), OglGui::SizableWindow::SetAllowHighlight(), OglGui::SizableWindow::SetAllowMove(), OglGui::SizableWindow::SetAllowSizeDirections(), OglGui::SizableWindow::SetBorderType(), and OglGui::SizableWindow::SetHighLightBorderType().

Referenced by CreateHeader().

00090     {
00091         SizableStaticText* colHdr
00092             = new SizableStaticText(parent,x,y,w,h,title);
00093         StaticText* txt = colHdr->GetStaticText();
00094         txt->SetAlign(oglLeftAlign, oglCenterAlign);
00095         txt->SetAlignOffsets(4,0);
00096 
00097         colHdr->SetAllowMove(false);
00098         colHdr->SetAllowHighlight(false);
00099         colHdr->SetBorderType(BEV_RAISED);
00100         colHdr->SetHighLightBorderType(BEV_RAISED);
00101         colHdr->SetAllowSizeDirections(SizableWindow::AllDir,false);
00102         colHdr->SetAllowSizeDirections(SizableWindow::East,true);
00103         return colHdr;
00104     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:00:16 2010 for ImpalaSrc by  doxygen 1.5.1