]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menuqc/system/history.qh
give menu source its own directory
[divverent/nexuiz.git] / data / menuqc / system / history.qh
1 // DP/Nex Menu
2 // system/history.qh
3
4 // MMANAGER_HISTORY
5 .entity _prev;   //     <- points to the previous history element
6 .entity _child;  //     <- points to the old/calling selected item
7 .entity _parent; //     <- points to the old active window
8 .entity _next;   //     <- points to the item which the history is used for
9 .event  _destroy;  //   <- points to the function that is called when the history is popped
10
11 // points to the last element of the history
12 entity Menu_History;
13
14 ///////////////
15 // prototypes
16 ///
17 typedef void() Menu_History_PopFunction;
18
19 void( entity pEntity, Menu_History_PopFunction pPopFunction )   Menu_History_Push;
20 void()                  Menu_History_Pop;
21 bool( entity pEntity )  Menu_History_Verify;    // Verifies the target item
22 void()                  Menu_History_Clear;
23