Reimplemented from OglGui::StaticText. Definition at line 144 of file CheckBox.h. References OglGui::Window::GetState(), OglGui::Window::MouseFunc(), mSelected, and PublishSelection(). 00145 { 00146 if (!GetState()) return; 00147 00148 Window::MouseFunc(msg, but, state, x, y); 00149 00150 if (state & oglModifierKey) 00151 return; 00152 00153 if ((msg == oglMouseDown) && (but == oglLeftButton)) 00154 { 00155 mSelected = !mSelected; 00156 PublishSelection(); 00157 } 00158 }
Here is the call graph for this function:
|