Definition at line 54 of file PunsOnlyControl.h. References mListener, mNegativeCheckBox, mPositiveCheckBox, mSkipCheckBox, mUnknownCheckBox, OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), OglGui::CheckBox::SetCheckBoxListener(), and OglGui::OglWindow::SetDimensions(). 00055 { 00056 int x = margin; 00057 mListener = 0; 00058 00059 mPositiveCheckBox = 0; 00060 mUnknownCheckBox = 0; 00061 mNegativeCheckBox = 0; 00062 mSkipCheckBox = 0; 00063 00064 if (bits & 1) 00065 { 00066 mPositiveCheckBox = new CheckBox(this,x,margin,110,h-2*margin, 00067 "Only Positive", false, 1); 00068 mPositiveCheckBox->SetCheckBoxListener(this,1); 00069 x += 112; 00070 } 00071 if (bits & 2) 00072 { 00073 mUnknownCheckBox = new CheckBox(this, x, margin, 110,h-2*margin, 00074 "Only Unknown", false, 1); 00075 mUnknownCheckBox->SetCheckBoxListener(this,2); 00076 x += 112; 00077 } 00078 if (bits & 4) 00079 { 00080 mNegativeCheckBox = new CheckBox(this, x, margin, 110,h-2*margin, 00081 "Only Negative", false, 1); 00082 mNegativeCheckBox->SetCheckBoxListener(this,3); 00083 x += 112; 00084 } 00085 if (bits & 8) 00086 { 00087 mSkipCheckBox = new CheckBox(this, x, margin, 110,h-2*margin, 00088 "Only Skip", false, 1); 00089 mSkipCheckBox->SetCheckBoxListener(this,4); 00090 x += 112; 00091 } 00092 x += margin; 00093 00094 SetDimensions(x,h); 00095 ScaleChildren(); 00096 SetAllowChildScaling(false); 00097 SetDimensions(w,h); 00098 }
Here is the call graph for this function:
|