Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
screenshotimage.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
image.qh
"
4
CLASS
(
XonoticScreenshotImage
,
XonoticImage
)
5
METHOD
(
XonoticScreenshotImage
,
configureXonoticScreenshotImage
,
void
(
entity
));
6
METHOD
(
XonoticScreenshotImage
,
load
,
void
(
entity
,
string
));
7
METHOD
(
XonoticScreenshotImage
,
draw
,
void
(
entity
));
8
ATTRIB
(
XonoticScreenshotImage
,
focusable
,
bool
,
true
);
// mousePress and mouseDrag work only if focusable is set
9
METHOD
(
XonoticScreenshotImage
,
mousePress
,
bool
(
XonoticScreenshotImage
this
,
vector
pos));
10
METHOD
(
XonoticScreenshotImage
,
mouseDrag
,
float
(
entity
,
vector
));
11
METHOD
(
XonoticScreenshotImage
,
mouseMove
,
float
(
entity
,
vector
));
12
METHOD
(
XonoticScreenshotImage
,
resizeNotify
,
void
(
entity
,
vector
,
vector
,
vector
,
vector
));
13
ATTRIB
(
XonoticScreenshotImage
,
realFontSize
,
vector
, '0 0 0');
14
ATTRIB
(
XonoticScreenshotImage
,
fontSize
,
float
, SKINFONTSIZE_NORMAL);
15
ATTRIB
(
XonoticScreenshotImage
,
showTitle
,
bool
,
true
);
16
ATTRIB
(
XonoticScreenshotImage
,
screenshotTime
,
float
, 0);
17
ATTRIB
(
XonoticScreenshotImage
, screenshotTitle,
string
);
18
ENDCLASS
(
XonoticScreenshotImage
)
19
entity
makeXonoticScreenshotImage
();
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
XonoticImage
Definition
image.qh:4
XonoticScreenshotImage
Definition
screenshotimage.qh:4
XonoticScreenshotImage::resizeNotify
virtual void resizeNotify()
XonoticScreenshotImage::fontSize
float fontSize
Definition
screenshotimage.qh:14
XonoticScreenshotImage::load
virtual void load()
XonoticScreenshotImage::mouseMove
virtual void mouseMove()
XonoticScreenshotImage::draw
virtual void draw()
XonoticScreenshotImage::ATTRIB
ATTRIB(XonoticScreenshotImage, screenshotTitle, string)
XonoticScreenshotImage::realFontSize
vector realFontSize
Definition
screenshotimage.qh:13
XonoticScreenshotImage::mousePress
virtual void mousePress()
Definition
screenshotimage.qc:28
XonoticScreenshotImage::screenshotTime
float screenshotTime
Definition
screenshotimage.qh:16
XonoticScreenshotImage::mouseDrag
virtual void mouseDrag()
XonoticScreenshotImage::focusable
bool focusable
Definition
screenshotimage.qh:8
XonoticScreenshotImage::configureXonoticScreenshotImage
virtual void configureXonoticScreenshotImage()
XonoticScreenshotImage::showTitle
bool showTitle
Definition
screenshotimage.qh:15
true
#define true
Definition
csprogsdefs.qh:5
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
makeXonoticScreenshotImage
entity makeXonoticScreenshotImage()
Definition
screenshotimage.qc:3
vector
vector
Definition
self.qh:92
this
entity this
Definition
self.qh:72
image.qh
menu
xonotic
screenshotimage.qh
Generated on
for Xonotic QuakeC by
1.14.0