5 #include "screenshotimage.qh"
7 CLASS(XonoticScreenshotViewerDialog, XonoticDialog)
8 METHOD(XonoticScreenshotViewerDialog, fill, void(entity));
9 METHOD(XonoticScreenshotViewerDialog, keyDown, float(entity, float, float, float));
10 METHOD(XonoticScreenshotViewerDialog, loadScreenshot, void(entity, string));
11 METHOD(XonoticScreenshotViewerDialog, close, void(entity));
12 ATTRIB(XonoticScreenshotViewerDialog, title, string, "Screenshot Viewer");
13 ATTRIB(XonoticScreenshotViewerDialog, name, string, "ScreenshotViewer");
14 ATTRIB(XonoticScreenshotViewerDialog, intendedWidth, float, 1);
15 ATTRIB(XonoticScreenshotViewerDialog, rows, float, 25);
16 ATTRIB(XonoticScreenshotViewerDialog, columns, float, 4);
17 ATTRIB(XonoticScreenshotViewerDialog, color, vector, SKINCOLOR_DIALOG_SCREENSHOTVIEWER);
18 ATTRIB(XonoticScreenshotViewerDialog, scrList, entity);
19 ATTRIB(XonoticScreenshotViewerDialog, screenshotImage, entity);
20 ATTRIB(XonoticScreenshotViewerDialog, slideShowButton, entity);
21 ATTRIB(XonoticScreenshotViewerDialog, currentScrPath, string);
22 ENDCLASS(XonoticScreenshotViewerDialog)