Reimplemented from OglGui::StaticText. Reimplemented in Impala::Application::SDash::SurveillanceMap. Definition at line 77 of file WindowView2D.h. References OglGui::StaticText::DisplayFunc(), OglGui::OglWindow::GetBorderType(), OglGui::Window::GetState(), mActAsButton, mIsPressed, mListenerData, OglGui::OglWindow::mOglWnd, mOldBorderType, mRepeatMode, mScaleToWnd, mView, mWndView2DListener, OglGui::RepeatTimer::RepeatTime(), OglGui::WindowView2DListener::SelectionEvent(), and OglGui::OglWindow::SetBorderType(). Referenced by Impala::Application::SDash::SurveillanceMap::DisplayFunc(). 00078 { 00079 int w = mOglWnd->width; 00080 int h = mOglWnd->height; 00081 00082 viewSys.SetDimensions(mView, 0, 0, w, h); 00083 00084 if (mScaleToWnd && mView->im) 00085 viewSys.SetZoom(mView, w / (float) mView->im->w, 00086 h / (float) mView->im->h); 00087 00088 if (mRepeatMode && mIsPressed && RepeatTime() && 00089 mWndView2DListener && GetState()) 00090 { 00091 mWndView2DListener->SelectionEvent(this, mListenerData); 00092 } 00093 00094 if (mActAsButton && mIsPressed) 00095 { 00096 mOldBorderType = GetBorderType(); 00097 mView->x++; mView->y--; 00098 } 00099 StaticText::DisplayFunc(); 00100 00101 if (mActAsButton && mIsPressed){ 00102 SetBorderType(mOldBorderType); 00103 mView->x--; mView->y++; 00104 } 00105 00106 //CenterStr(mIsPressed ? 1 : 0, mIsPressed ? 2 : 3); 00107 }
Here is the call graph for this function:
|