]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qh
Merge branch 'master' into Mirio/balance
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_multiplayer_media_screenshot_viewer.qh
1 #pragma once
2
3 #include "dialog.qh"
4
5 #include "screenshotimage.qh"
6
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)