Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_media_screenshot_viewer.qh
Go to the documentation of this file.
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
);
19
ATTRIB
(
XonoticScreenshotViewerDialog
, screenshotImage,
entity
);
20
ATTRIB
(
XonoticScreenshotViewerDialog
, slideShowButton,
entity
);
21
ATTRIB
(
XonoticScreenshotViewerDialog
, currentScrPath,
string
);
22
ENDCLASS
(
XonoticScreenshotViewerDialog
)
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
XonoticDialog
Definition
dialog.qh:4
XonoticScreenshotViewerDialog
Definition
dialog_media_screenshot_viewer.qh:7
XonoticScreenshotViewerDialog::columns
float columns
Definition
dialog_media_screenshot_viewer.qh:16
XonoticScreenshotViewerDialog::color
vector color
Definition
dialog_media_screenshot_viewer.qh:17
XonoticScreenshotViewerDialog::ATTRIB
ATTRIB(XonoticScreenshotViewerDialog, scrList, entity)
XonoticScreenshotViewerDialog::loadScreenshot
virtual void loadScreenshot()
XonoticScreenshotViewerDialog::name
string name
Definition
dialog_media_screenshot_viewer.qh:13
XonoticScreenshotViewerDialog::title
string title
Definition
dialog_media_screenshot_viewer.qh:12
XonoticScreenshotViewerDialog::rows
float rows
Definition
dialog_media_screenshot_viewer.qh:15
XonoticScreenshotViewerDialog::fill
virtual void fill()
XonoticScreenshotViewerDialog::close
virtual void close()
XonoticScreenshotViewerDialog::intendedWidth
float intendedWidth
Definition
dialog_media_screenshot_viewer.qh:14
XonoticScreenshotViewerDialog::keyDown
virtual void keyDown()
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
screenshotimage.qh
vector
vector
Definition
self.qh:92
dialog.qh
menu
xonotic
dialog_media_screenshot_viewer.qh
Generated on
for Xonotic QuakeC by
1.14.0