15 me.configureDialog(me);
20 if (me.currentScrPath == scrImage)
22 strcpy(me.currentScrPath, scrImage);
23 me.screenshotImage.load(me.screenshotImage, me.currentScrPath);
29 float slist_height = me.rows - 2;
36 e.onChangeEntity = slist;
37 slist.screenshotViewerDialog =
main.screenshotViewerDialog;
38 main.screenshotViewerDialog.scrList = slist;
40 me.gotoRC(me, 0, 3.1);
41 me.TD(me, 1, 1.9, e =
makeXonoticCheckBoxEx(2, 1,
"cl_autoscreenshot", _(
"Auto screenshot scoreboard")));
45 e.onClickEntity = slist;
58 me.gotoRC(me, 1.5, 0);
59 me.TD(me, me.rows - 2.5, me.columns, slist);
61 me.gotoRC(me, slist_height + 1, 0);
62 me.TD(me, 1, me.columns, e =
makeXonoticButton(_(
"Open in the viewer"),
'0 0 0'));
64 e.onClickEntity = slist;
void StartScreenshot_Click(entity btn, entity me)
entity makeXonoticCheckBoxEx(float theYesValue, float theNoValue, string theCvar, string theText)
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticScreenshotList()
void ScreenshotList_Refresh_Click(entity btn, entity me)
void ScreenshotList_Filter_Would_Change(entity box, entity me)