]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu/draw.qh
-scmenu; make mapinfo default
[divverent/nexuiz.git] / data / qcsrc / menu / 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, vector theSize, vector theOffset);
7 void draw_drawMousePointer(vector where);
8
9 void draw_PreloadPicture(string pic);
10 void draw_ButtonPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha);
11 void draw_VertButtonPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha);
12 void draw_BorderPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha, vector theBorderSize);
13 void draw_Picture(vector origin, string pic, vector size, vector color, float alpha);
14 vector draw_PictureSize(string pic);
15 void draw_Fill(vector theOrigin, vector theSize, vector theColor, float theAlpha);
16 void draw_Text(vector origin, string text, vector size, vector color, float alpha, float allowColorCodes);
17 void draw_CenterText(vector origin, string text, vector size, vector color, float alpha, float allowColorCodes);
18 float draw_TextWidth(string text, float allowColorCodes);
19 string draw_TextShortenToWidth(string text, float maxWidth, float allowColorCodes);
20 float draw_TextLengthUpToWidth(string text, float maxWidth, float allowColorCodes);
21
22 void draw_SetClip();
23 void draw_SetClipRect(vector theOrigin, vector theScale);
24 void draw_ClearClip();
25
26 vector boxToGlobal(vector v, vector shift, vector scale);
27 vector boxToGlobalSize(vector v, vector scale);
28 vector globalToBox(vector v, vector shift, vector scale);
29 vector globalToBoxSize(vector v, vector scale);
30
31 float draw_NeedResizeNotify;
32
33 string draw_currentSkin;