Definition at line 82 of file CrossControl.h. References InitCross(), mButtonCross, mButtonGroup, mResetButton, OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), OglGui::Button::SetButtonListener(), and SetTargetWindow(). 00084 { 00085 int m = 4; 00086 float partH = extraBtn ? h/5.0f : 4; 00087 00088 SetTargetWindow(targetWnd); 00089 00090 mButtonGroup = new GroupBox(this, m, (int)partH, w-2*m, 00091 (int)(h-partH-m), grpTitle, BEV_LINE, 10); 00092 mButtonCross = new SixButtonCross(mButtonGroup, 0, 0, w-2*m, 00093 (int)(h-partH-m-16), BEV_RAISED); 00094 InitCross(mButtonCross, btnNr); 00095 00096 mResetButton = 0; 00097 if (extraBtn && btnTitle != "") 00098 { 00099 mResetButton = new Button(this, m, m, w-2*m, (int)(partH-2*m), 00100 btnTitle, BEV_LINE, false); 00101 mResetButton->SetButtonListener(this, (void*)(btnNr+6)); 00102 } 00103 ScaleChildren(0,true); 00104 SetAllowChildScaling(false); 00105 }
Here is the call graph for this function:
|