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

virtual void Impala::Application::VideoExcel::TableColumn::UpdateSortEvent ( String  col,
bool  ascending 
) [inline, private, virtual]

Reimplemented from Impala::Application::VideoExcel::TableUpdateListener.

Definition at line 166 of file TableColumn.h.

References mColumnHeader, mColumnName, mSortButton, OglGui::DirectionButton::SetDirection(), OglGui::DirectionButton::SetFilled(), and OglGui::Button::SetPressed().

00167     {
00168         // update sort button with current sorting state:
00169         if (mColumnName == col)
00170         {
00171             mSortButton->SetFilled(true);
00172             mColumnHeader->SetPressed(true);
00173             mSortButton->SetDirection(ascending ? 3 : 1);
00174         }
00175         else
00176         {
00177             mSortButton->SetFilled(false);
00178             mColumnHeader->SetPressed(false);
00179             mSortButton->SetDirection(3);
00180         }
00181     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:53:40 2010 for ImpalaSrc by  doxygen 1.5.1