Definition at line 78 of file CameraEvent.h. References mType. Referenced by Impala::Application::SDash::CameraEventButton::Init(), and Impala::Application::SDash::SurveillanceApp::ShowEvent(). 00079 { 00080 ULONG color = oglWHITE; 00081 switch (mType) 00082 { 00083 case 1: 00084 // demo/manual 00085 color = oglBLUE; 00086 break; 00087 case 2: 00088 // human activity 00089 color = 0xffffff00; // geel 00090 break; 00091 case 3: 00092 // camera movement 00093 color = oglGREEN; 00094 break; 00095 } 00096 return color; 00097 }
|