]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/screenshotlist.qh
Merge branch 'martin-t/msnt' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / screenshotlist.qh
1 #pragma once
2
3 #include "listbox.qh"
4 CLASS(XonoticScreenshotList, XonoticListBox)
5         METHOD(XonoticScreenshotList, configureXonoticScreenshotList, void(entity));
6         ATTRIB(XonoticScreenshotList, rowsPerItem, float, 1);
7         METHOD(XonoticScreenshotList, resizeNotify, void(entity, vector, vector, vector, vector));
8         METHOD(XonoticScreenshotList, setSelected, void(entity, float));
9         METHOD(XonoticScreenshotList, draw, void(entity));
10         METHOD(XonoticScreenshotList, drawListBoxItem, void(entity, int, vector, bool, bool));
11         METHOD(XonoticScreenshotList, getScreenshots, void(entity));
12         METHOD(XonoticScreenshotList, previewScreenshot, void(entity));
13         METHOD(XonoticScreenshotList, startScreenshot, void(entity));
14         METHOD(XonoticScreenshotList, screenshotName, string(entity, float));
15         METHOD(XonoticScreenshotList, doubleClickListBoxItem, void(entity, float, vector));
16         METHOD(XonoticScreenshotList, keyDown, float(entity, float, float, float));
17         METHOD(XonoticScreenshotList, destroy, void(entity));
18         METHOD(XonoticScreenshotList, showNotify, void(entity));
19         ATTRIB(XonoticScreenshotList, listScreenshot, float, -1);
20         ATTRIB(XonoticScreenshotList, realFontSize, vector, '0 0 0');
21         ATTRIB(XonoticScreenshotList, columnNameOrigin, float, 0);
22         ATTRIB(XonoticScreenshotList, columnNameSize, float, 0);
23         ATTRIB(XonoticScreenshotList, realUpperMargin, float, 0);
24         ATTRIB(XonoticScreenshotList, origin, vector, '0 0 0');
25         ATTRIB(XonoticScreenshotList, itemAbsSize, vector, '0 0 0');
26         ATTRIB(XonoticScreenshotList, filterString, string);
27         ATTRIB(XonoticScreenshotList, filterBox, entity);
28         ATTRIB(XonoticScreenshotList, filterTime, float, 0);
29
30         ATTRIB(XonoticScreenshotList, newScreenshotTime, float, 0);
31         ATTRIB(XonoticScreenshotList, newSlideShowScreenshotTime, float, 0);
32
33         ATTRIB(XonoticScreenshotList, screenshotBrowserDialog, entity);
34         ATTRIB(XonoticScreenshotList, screenshotPreview, entity);
35         ATTRIB(XonoticScreenshotList, screenshotViewerDialog, entity);
36         METHOD(XonoticScreenshotList, goScreenshot, void(entity, float));
37         METHOD(XonoticScreenshotList, startSlideShow, void(entity));
38         METHOD(XonoticScreenshotList, stopSlideShow, void(entity));
39 ENDCLASS(XonoticScreenshotList)
40
41 entity makeXonoticScreenshotList();
42 void StartScreenshot_Click(entity btn, entity me);
43 void ScreenshotList_Refresh_Click(entity btn, entity me);
44 void ScreenshotList_Filter_Would_Change(entity box, entity me);
45 void ScreenshotList_Filter_Change(entity box, entity me);