Definition at line 77 of file PreviewBar.h. References mCheck, mChecked, mHighlighted, mName, mPreviewImages, OglGui::OglWindow::SetAlwaysDraw(), OglGui::OglWindow::SetBorderFillShaded(), OglGui::OglWindow::SetBorderType(), OglGui::CheckBox::SetCheckBoxListener(), OglGui::ProgressBar::SetColors(), OglGui::ProgressBar::SetProgress(), OglGui::OglWindow::SetRoundness(), OglGui::ProgressBar::ShowPercentage(), UpdateBackgroundColor(), and OglGui::OglWindow::WndHeight(). 00078 { 00079 mName = name; 00080 00081 SetBorderType(4); 00082 SetBorderFillShaded(2); 00083 mHighlighted = false; 00084 mChecked = selected; 00085 UpdateBackgroundColor(); 00086 00087 // text 00088 mCheck = new CheckBox(this, 8, WndHeight()-26, 162, 24, name, selected); 00089 mCheck->SetCheckBoxListener(this); 00090 00091 // quality: 00092 ProgressBar *progBar = new ProgressBar(this, 8, 4, 162, 16); 00093 progBar->SetAlwaysDraw(false); 00094 progBar->SetBorderType(BEV_LINE); 00095 progBar->SetRoundness(6,6,6,6); 00096 progBar->SetColors(0x40ffffff, oglTrRED); 00097 progBar->ShowPercentage(); 00098 progBar->SetProgress(quality * 100); 00099 00100 // images: 00101 mPreviewImages = NULL; 00102 }
Here is the call graph for this function:
|