Definition at line 642 of file AllFramesTLineVideo.h. References OglGui::OglWindow::H(), OglGui::OglWindow::ScaleTo(), OglGui::Window::SetAllowScaling(), OglGui::UpDownButton::SetRepeatMode(), OglGui::UpDownButton::SetUpDownButtonListener(), and OglGui::OglWindow::W(). Referenced by Init(), and WindowDisplayEvent(). 00643 { 00644 int y = (parent->H()-h)/2; 00645 int x = parent->W()-w-2; 00646 UpDownButton* upDownBtn = new UpDownButton(parent,x,y,w,h,true); 00647 //upDownBtn->ConnectTo(parent, OglGui::TORIGHT | OglGui::TOTOPBOTTOM); 00648 upDownBtn->ScaleTo(parent); 00649 upDownBtn->SetUpDownButtonListener(this,(void*)userData); 00650 upDownBtn->SetRepeatMode(true); 00651 upDownBtn->SetAllowScaling(false); 00652 return upDownBtn; 00653 }
Here is the call graph for this function:
|