Definition at line 646 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(). 00647 { 00648 int y = (parent->H()-h)/2; 00649 int x = parent->W()-w-2; 00650 UpDownButton* upDownBtn = new UpDownButton(parent,x,y,w,h,true); 00651 //upDownBtn->ConnectTo(parent, OglGui::TORIGHT | OglGui::TOTOPBOTTOM); 00652 upDownBtn->ScaleTo(parent); 00653 upDownBtn->SetUpDownButtonListener(this,(void*)userData); 00654 upDownBtn->SetRepeatMode(true); 00655 upDownBtn->SetAllowScaling(false); 00656 return upDownBtn; 00657 }
Here is the call graph for this function: ![]()
|