Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Application::MediaTable::TableControlBarWindow::Init ( TableWindow table,
int  w,
int  h 
) [inline, private]

Definition at line 64 of file TableControlBarWindow.h.

References BUTTON_RESETFILTERS, CHECK_PREVIEW, CHECK_VZOOM, CHECK_ZOOM, mHorZoom, mTable, Impala::Application::MediaTable::TableWindow::SetAutoZoom(), OglGui::OglWindow::SetBorderFillShaded(), OglGui::OglWindow::SetBorderType(), OglGui::Button::SetButtonListener(), OglGui::CheckBox::SetCheckBoxListener(), and Impala::Application::MediaTable::TableWindow::SetColumnCondense().

00065     {
00066         mTable = table;
00067 
00068         SetBorderType(1);
00069         SetBorderFillShaded(DEEP_SHADE_UP);
00070 
00071         Button *b = new Button(this, 120, 28, "reset filters");
00072         b->SetButtonListener(this, BUTTON_RESETFILTERS);
00073 
00074         mHorZoom = new CheckBox(this, 130, 28, "horizontal zoom", true);
00075         mHorZoom->SetCheckBoxListener(this, CHECK_ZOOM);
00076         CheckBox* c = new CheckBox(this, 130, 28, "vertical zoom", true);
00077         c->SetCheckBoxListener(this, CHECK_VZOOM);
00078         c = new CheckBox(this, 130, 28, "detailed preview");
00079         c->SetCheckBoxListener(this, CHECK_PREVIEW);
00080 
00081 
00082         // set defaults:
00083         mTable->SetAutoZoom(true);
00084         mTable->SetColumnCondense(true);
00085     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:44:55 2010 for ImpalaSrc by  doxygen 1.5.1