JWM Source Documentation
root.h
Go to the documentation of this file.
1 
10 #ifndef ROOT_H
11 #define ROOT_H
12 
13 struct Menu;
14 
16 void InitializeRootMenu(void);
17 void StartupRootMenu(void);
18 #define ShutdownRootMenu() (void)(0)
19 void DestroyRootMenu(void);
26 void SetRootMenu(const char *indexes, struct Menu *m);
27 
31 int GetRootMenuIndex(char ch);
32 
36 int GetRootMenuIndexFromString(const char *str);
37 
41 char IsRootMenuDefined(int index);
42 
48 void GetRootMenuSize(int index, int *width, int *height);
49 
57 char ShowRootMenu(int index, int x, int y, char keyboard);
58 
60 void Restart(void);
61 
65 void Exit(char confirm);
66 
68 void ReloadMenu(void);
69 
70 #endif /* ROOT_H */
71 

joewing.net / Projects / JWM