]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu-div0test/draw.qh
fix selection bugs when enabling/disabling the checkboxes
[divverent/nexuiz.git] / data / qcsrc / menu-div0test / draw.qh
1 vector draw_shift;
2 vector draw_scale;
3 float draw_alpha;
4
5 void draw_reset();
6 void draw_setMousePointer(string pic);
7 void draw_drawMousePointer(vector where);
8
9 void draw_ButtonPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha);
10 void draw_VertButtonPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha);
11 void draw_BorderPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha, vector theBorderSize);
12 void draw_Picture(vector origin, string pic, vector size, vector color, float alpha);
13 void draw_Fill(vector theOrigin, vector theSize, vector theColor, float theAlpha);
14 void draw_Text(vector origin, string text, vector size, vector color, float alpha);
15 float draw_TextWidth(string text);
16 string draw_TextShortenToWidth(string text, float maxWidth);
17
18 void draw_SetClip();
19 void draw_ClearClip();
20
21 vector boxToGlobal(vector v, vector shift, vector scale);
22 vector boxToGlobalSize(vector v, vector scale);
23 vector globalToBox(vector v, vector shift, vector scale);
24 vector globalToBoxSize(vector v, vector scale);
25
26 float draw_NeedResizeNotify;
27