Definition at line 71 of file AlertTimeLine.h. References OglGui::B2T, OglGui::OglWindow::ConnectTo(), OglGui::OglWindow::H(), OglGui::OglWindow::SetBorderBackground(), OglGui::Button::SetButtonListener(), OglGui::Window::SetDoStateFeedback(), and OglGui::T2T. 00072 { 00073 GenerateAlertListener* genAlert = new GenerateAlertListener(); 00074 Button* btn; 00075 btn = new Button(this, 0, H()-44, 80, 20, "test event"); 00076 btn->SetBorderBackground(0xffffff00); 00077 btn->SetDoStateFeedback(false); 00078 btn->SetButtonListener(genAlert, (void*) this); 00079 btn->ConnectTo(this, T2T|B2T); 00080 00081 btn = new Button(this, 0, H()-66, 80, 20, "test alert"); 00082 btn->SetBorderBackground(0xffff0000); 00083 btn->SetDoStateFeedback(false); 00084 btn->SetButtonListener(genAlert, (void*) this); 00085 btn->ConnectTo(this, T2T|B2T); 00086 00087 btn = new Button(this, 0, H()-88, 80, 20, "1 min"); 00088 btn->SetButtonListener(new AdvanceTimeListener(), (void*) this); 00089 00090 btn->ConnectTo(this, T2T|B2T); 00091 }
Here is the call graph for this function:
|