Xonotic
colorpicker_string.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "colorpicker.qh"
4 
5 #include "../item/image.qh"
7  METHOD(XonoticColorpickerString, configureXonoticColorpickerString, void(entity, string, string));
9  METHOD(XonoticColorpickerString, mouseRelease, float(entity, vector));
10  METHOD(XonoticColorpickerString, mouseDrag, float(entity, vector));
11 
13  METHOD(XonoticColorpickerString, loadCvars, void(entity));
14  METHOD(XonoticColorpickerString, saveCvars, void(entity));
15 
16  ATTRIB(XonoticColorpickerString, prevcoords, vector, '0 0 0');
17  ATTRIB(XonoticColorpickerString, image, string, SKINGFX_COLORPICKER);
18  ATTRIB(XonoticColorpickerString, imagemargin, vector, SKINMARGIN_COLORPICKER);
19  ATTRIB(XonoticColorpickerString, focusable, float, 1);
21  ATTRIB(XonoticColorpickerString, disabledAlpha, float, 0.3);
23 entity makeXonoticColorpickerString(string theCvar, string theDefaultCvar);
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
Definition: image.qh:4
entity makeXonoticColorpickerString(string theCvar, string theDefaultCvar)