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, NULL)
19 ATTRIB(XonoticScreenshotViewerDialog, screenshotImage, entity, NULL)
20 ATTRIB(XonoticScreenshotViewerDialog, slideShowButton, entity, NULL)
21 ATTRIB(XonoticScreenshotViewerDialog, currentScrPath, string, string_null)
22 ENDCLASS(XonoticScreenshotViewerDialog)