Xonotic
colorpicker.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item/image.qh"
5  METHOD(XonoticColorpicker, configureXonoticColorpicker, void(entity, entity));
6  METHOD(XonoticColorpicker, mousePress, bool(XonoticColorpicker this, vector pos));
7  METHOD(XonoticColorpicker, mouseRelease, float(entity, vector));
8  METHOD(XonoticColorpicker, mouseDrag, float(entity, vector));
9  ATTRIB(XonoticColorpicker, controlledTextbox, entity);
10  ATTRIB(XonoticColorpicker, image, string, SKINGFX_COLORPICKER);
11  ATTRIB(XonoticColorpicker, imagemargin, vector, SKINMARGIN_COLORPICKER);
12  ATTRIB(XonoticColorpicker, focusable, float, 1);
13  METHOD(XonoticColorpicker, focusLeave, void(entity));
14  METHOD(XonoticColorpicker, keyDown, float(entity, float, float, float));
15  METHOD(XonoticColorpicker, draw, void(entity));
18 
vector hslimage_color(vector v, vector margin)
Definition: colorpicker.qc:26
CLASS(Object) Object
Definition: oo.qh:318
entity makeXonoticColorpicker(entity theTextbox)
Definition: colorpicker.qc:5
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
vector v
Definition: ent_cs.qc:116
#define ENDCLASS(cname)
Definition: oo.qh:269
Definition: image.qh:4
vector color_hslimage(vector v, vector margin)
Definition: colorpicker.qc:40