Xonotic
slider_resolution.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "textslider.qh"
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));
11  ATTRIB(XonoticResolutionSlider, vid_fullscreen, float, -1);
12  ATTRIB(XonoticResolutionSlider, maxAllowedWidth, float, 0);
13  ATTRIB(XonoticResolutionSlider, maxAllowedHeight, float, 0);
16 float updateConwidths(float width, float height, float pixelheight);
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
entity makeXonoticResolutionSlider()
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
float height
Definition: jumppads.qh:12
#define ENDCLASS(cname)
Definition: oo.qh:269
float updateConwidths(float width, float height, float pixelheight)