Xonotic
slider_resolution.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
textslider.qh
"
4
CLASS
(
XonoticResolutionSlider
,
XonoticTextSlider
)
5
METHOD
(
XonoticResolutionSlider
, configureXonoticResolutionSlider,
void
(
entity
));
6
METHOD
(
XonoticResolutionSlider
, loadResolutions,
void
(
entity
,
float
));
7
METHOD
(
XonoticResolutionSlider
, addResolution,
void
(
entity
,
float
,
float
,
float
));
8
METHOD
(
XonoticResolutionSlider
, loadCvars,
void
(
entity
));
9
METHOD
(
XonoticResolutionSlider
, saveCvars,
void
(
entity
));
10
METHOD
(
XonoticResolutionSlider
, draw,
void
(
entity
));
11
ATTRIB
(
XonoticResolutionSlider
, vid_fullscreen,
float
, -1);
12
ATTRIB
(
XonoticResolutionSlider
, maxAllowedWidth,
float
, 0);
13
ATTRIB
(
XonoticResolutionSlider
, maxAllowedHeight,
float
, 0);
14
ENDCLASS
(
XonoticResolutionSlider
)
15
entity
makeXonoticResolutionSlider
();
16
float
updateConwidths
(
float
width,
float
height
,
float
pixelheight);
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
makeXonoticResolutionSlider
entity makeXonoticResolutionSlider()
Definition:
slider_resolution.qc:83
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
height
float height
Definition:
jumppads.qh:12
textslider.qh
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
updateConwidths
float updateConwidths(float width, float height, float pixelheight)
Definition:
slider_resolution.qc:8
XonoticTextSlider
Definition:
textslider.qh:4
XonoticResolutionSlider
Definition:
slider_resolution.qh:4
menu
xonotic
slider_resolution.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13