Reimplemented from OglGui::Window.
Reimplemented in Impala::Application::MediaTable::TableWindowColumn, Impala::Application::SDash::AlertWindow, BoostedGraph, LabeledGraph, OglGui::Graph, and OglGui::SizableDirectionButton.
Definition at line 82 of file SizableWindow.h.
References OglGui::Window::DisplayFunc(), OglGui::OglWindow::GetRoundness(), mAllowHighLight, mHighLight, mHighLightBorderType, mHighLightInset, mNormalBorderType, OglGui::OglWindow::mOglWnd, OglGui::Window::mStateFeedbackColor, and OglGui::OglWindow::SetBorderType().
Referenced by OglGui::SizableDirectionButton::DisplayFunc(), OglGui::Graph::DisplayFunc(), and Impala::Application::SDash::AlertWindow::DisplayFunc().
00083 {
00084 Window::DisplayFunc();
00085 Window::SetBorderType(mHighLight?mHighLightBorderType:mNormalBorderType);
00086
00087 if (mAllowHighLight && mHighLight)
00088 {
00089 float r0, r1, r2, r3;
00090 int w = mOglWnd->width, h = mOglWnd->height;
00091 int brd = mHighLightInset;
00092 OGC myOGC;
00093
00094 OGCSave(&myOGC);
00095 SetSolidLineColor(mStateFeedbackColor);
00096 if (GetRoundness(r0, r1, r2, r3))
00097 DrawRoundRectExt(brd, brd, w - 2*brd, h - 2*brd, r0,r1,r2,r3);
00098 else
00099 DrawRectangle(brd, brd, w - 2*brd, h - 2*brd);
00100 OGCRestore(&myOGC);
00101 }
00102 }
Here is the call graph for this function: