]> icculus.org git repositories - divverent/nexuiz.git/blob - qcsrc/menu-div0test/draw.qh
inputboxing!
[divverent/nexuiz.git] / 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, float allowColorCodes);
15 float draw_TextWidth(string text, float allowColorCodes);
16 string draw_TextShortenToWidth(string text, float maxWidth, float allowColorCodes);
17 float draw_TextLengthUpToWidth(string text, float maxWidth, float allowColorCodes);
18
19 void draw_SetClip();
20 void draw_SetClipRect(vector theOrigin, vector theScale);
21 void draw_ClearClip();
22
23 vector boxToGlobal(vector v, vector shift, vector scale);
24 vector boxToGlobalSize(vector v, vector scale);
25 vector globalToBox(vector v, vector shift, vector scale);
26 vector globalToBoxSize(vector v, vector scale);
27
28 float draw_NeedResizeNotify;
29