Reimplemented from OglGui::Window. Definition at line 48 of file PoliceMan.h. References OglGui::Window::DisplayFunc(), OglGui::OglWindow::H(), mBalloon, OglGui::Window::mForeGroundColor, mHighlightColor, mMouseOver, OglGui::OglWindow::SetDimensions(), OglGui::OglWindow::W(), OglGui::OglWindow::X(), and OglGui::OglWindow::Y(). 00049 { 00050 int w = W(), h = H(); 00051 OGC myOGC; 00052 OGCSave(&myOGC); 00053 00054 SetSolidLineColor(mMouseOver ? mHighlightColor : oglBLACK); 00055 SetSolidFillColor(mForeGroundColor); 00056 00057 FillOval(w/2,5*h/6,w/4,h/6); 00058 FillRectangle(1,h/3,w-2,h/3); 00059 SetSolidFillColor(oglLIGHTBLUE); 00060 FillRectangle(w/4,0,w/2,2*h/3); 00061 00062 DrawOval(w/2,5*h/6,w/4,h/6); 00063 DrawRectangle(1,h/3,w-2,h/3); 00064 DrawRectangle(w/4,0,w/2,2*h/3); 00065 DrawLine(w/2,0,w/2,h/3); 00066 FillRectangle(w/4,5*h/6+2,w/2,h/6); 00067 00068 mBalloon->SetDimensions(X(),Y()+H(),RETAIN,RETAIN); 00069 00070 Window::DisplayFunc(); 00071 OGCRestore(&myOGC); 00072 }
Here is the call graph for this function:
|