2 // control/window/windows.qh
7 bool( float pKey, float pAscii ) Item_Window_Key;
8 void() Item_Window_Draw;
9 void() Item_Window_Spawn;
11 // Item_Frame Item_Window
12 void() Item_Frame_Spawn;
14 // Item_EventWindow Item_Window
22 void() Item_EventWindow_Spawn;
24 // Item_Reference [Item]
25 .string link; // window link
27 void() Item_Reference_Update;
28 void() Item_Reference_Draw;
29 void() Item_Reference_Destroy;
30 void() Item_Reference_Spawn;
32 // Item_Layout Item_Window
33 .vector direction; // space between the items
36 void() Item_Layout_Spawn;
37 void() Item_Layout_Update;
39 // Item_Arrangement Item_Layout
41 void() Item_Arrangement_CalculateSize;
42 void() Item_Arrangement_Update;
43 void() Item_Arrangement_Spawn;
45 // Item_ScrollWindow Item_Window
46 // It will adapt its origin to always make the currently selected item visible
47 // There always has to be only *one* child window, that has a valid size
48 .vector direction; // first is space between frame and item
49 .entity _link; // used to determine changes of the ActiveItem
51 void() Item_ScrollWindow_Update;
52 void() Item_ScrollWindow_Spawn;