Reimplemented from OglGui::StaticText. Reimplemented in Impala::Application::SDash::CameraEventButton, OglGui::DirectionButton, and OglGui::MenuOnButton. Definition at line 85 of file Button.h. References OglGui::StaticText::AlignString(), OglGui::Window::DisplayFunc(), DoButtonSelectionEvent(), OglGui::StaticText::mAlignOffH, OglGui::StaticText::mAlignOffV, mDownBorderType, mIsPressed, mRepeatMode, mUpBorderType, OglGui::RepeatTimer::RepeatTime(), and OglGui::OglWindow::SetBorderType(). Referenced by OglGui::MenuOnButton::DisplayFunc(), and OglGui::DirectionButton::DisplayFunc(). 00086 { 00087 if( mRepeatMode && mIsPressed && RepeatTime() ) 00088 DoButtonSelectionEvent(); 00089 00090 Window::SetBorderType( mIsPressed ? mDownBorderType : mUpBorderType ); 00091 00092 Window::DisplayFunc(); 00093 AlignString( mAlignOffH + (mIsPressed?1:0), mAlignOffV + (mIsPressed?-1:0) ); 00094 }
Here is the call graph for this function:
|