Definition at line 283 of file TitledWindow.h. References OglGui::B2T, OglGui::OglWindow::ConnectTo(), OglGui::L2R, mTitleBarButtonListener, OglGui::R2R, OglGui::Button::SetButtonListener(), OglGui::Window::SetForeground(), OglGui::OglWindow::SetRoundness(), OglGui::StaticText::SetShadowColor(), OglGui::Window::SetState(), OglGui::Button::SetUpBorderType(), OglGui::T2T, and OglGui::TPARENT. Referenced by CreateTitleBar(). 00284 { 00285 Button* btn = new Button(this, x, y, btnSz, btnSz, str); 00286 00287 btn->ConnectTo(this, L2R | R2R | B2T | T2T | TPARENT); 00288 btn->SetRoundness(btnR, btnR, btnR, btnR ); 00289 btn->SetUpBorderType(BEV_RAISED); 00290 //btn->SetButtonListener(this); 00291 btn->SetButtonListener(mTitleBarButtonListener, (void*) this); 00292 00293 if (!disabled) 00294 { 00295 btn->SetForeground(oglWHITE); 00296 btn->SetShadowColor(oglDARKGREY); 00297 } 00298 else 00299 btn->SetState(0); 00300 return btn; 00301 }
Here is the call graph for this function:
|