Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function RecordingsGui::PlayDemo() {
- %fileName = "recordings/" @ Control::getValue(RecordingsTextList) @ ".rec";
- if (isFile(%fileName)) {
- $PlayingDemo = true;
- if ( $timeDemo )
- timeDemo("recordings/" @ Control::getValue(RecordingsTextList) @ ".rec");
- else
- playDemo("recordings/" @ Control::getValue(RecordingsTextList) @ ".rec");
- cursorOn(MainWindow);
- GuiLoadContentCtrl(MainWindow, "gui/Loading.gui");
- renderCanvas(MainWindow);
- } else {
- RecordingsGui::onOpen();
- }
- }
Add Comment
Please, Sign In to add comment