Reimplemented from OglGui::ButtonListener. Definition at line 172 of file ScreenDossier.h. References BTN_EMPTYDOSSIER, DelVideo(), EmptyDossier(), ILOG_USER, and PlayFile(). 00173 { 00174 int userData = (long long) vData; 00175 if (userData >= 2000) { 00176 // call came from a DossierEntry, remove this ID - 2000: 00177 ILOG_USER("BTN: remove video from dossier for VideoID = " 00178 << userData - 2000); 00179 DelVideo(userData - 2000); 00180 } 00181 else if (userData >= 20) { 00182 // call came from a DossierEntry, play this ID - 20: 00183 ILOG_USER("BTN: play video for VideoID = " << userData - 20); 00184 PlayFile(userData - 20); 00185 } 00186 else if (userData == BTN_EMPTYDOSSIER) 00187 { 00188 ILOG_USER("BTN: empty dossier"); 00189 EmptyDossier(); 00190 } 00191 }
Here is the call graph for this function:
|