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

virtual void Impala::Application::IDash::ScreenPlay::OnRadioChange ( RadioGroup *  src,
int  button,
void *  data 
) [inline, virtual]

Definition at line 128 of file ScreenPlay.h.

References Impala::Application::IDash::NfiSixView::DoNormalSpeed(), ILOG_USER, mPlayer, RAD_LOOP, RAD_SPEED, and Impala::Application::IDash::NfiSixView::SetLoopVideo().

00129     {
00130         if (data == (void*) RAD_SPEED) {
00131             switch (button) {
00132             case 0: // normal speed
00133                 ILOG_USER("BTN: user selected normal speed.");
00134                 mPlayer->DoNormalSpeed(true);
00135                 break;
00136             case 1: // fast speed
00137                 ILOG_USER("BTN: user selected fast speed.");
00138                 mPlayer->DoNormalSpeed(false);
00139                 break;
00140             }
00141         }
00142 
00143         if (data == (void*) RAD_LOOP) {
00144             switch (button) {
00145             case 0: // normal speed
00146                 ILOG_USER("BTN: user selected loop disabled.");
00147                 mPlayer->SetLoopVideo(false);
00148                 break;
00149             case 1: // fast speed
00150                 ILOG_USER("BTN: user selected loop enabled.");
00151                 mPlayer->SetLoopVideo(true);
00152                 break;
00153             }
00154         }
00155 
00156     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:41:18 2010 for ImpalaSrc by  doxygen 1.5.1