Header for the root menu functions.
More...
Go to the source code of this file.
Detailed Description
Header for the root menu functions.
- Author:
- Joe Wingbermuehle
- Date:
- 2004-2006
Definition in file root.h.
Function Documentation
| void GetRootMenuSize |
( |
int |
index, |
|
|
int * |
width, |
|
|
int * |
height |
|
) |
| |
Get the size of a root menu.
- Parameters:
-
| index | The root menu index. |
| width | The width output. |
| height | The height output. |
| void InitializeRootMenu |
( |
| ) |
|
| int IsRootMenuDefined |
( |
int |
index | ) |
|
Determine if a root menu is defined for the specified index.
- Returns:
- 1 if it is defined, 0 if not.
Restart the window manager.
| void SetRootMenu |
( |
const char * |
indexes, |
|
|
struct Menu * |
m |
|
) |
| |
Set the root menu to be used for the specified indexes.
- Parameters:
-
| indexes | The indexes (ASCII string of '0' to '9'). |
| m | The menu to use for the specified indexes. |
| void SetShowExitConfirmation |
( |
char |
v | ) |
|
Set whether a confirmation dialog is displayed on exit.
- Parameters:
-
| v | 1 to display confirmation, 0 to just exit. |
| int ShowRootMenu |
( |
int |
index, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Show a root menu.
- Parameters:
-
| index | The root menu index. |
| x | The x-coordinate. |
| y | The y-coordinate. |
- Returns:
- 1 if a menu was displayed, 0 if not.
| void ShutdownRootMenu |
( |
| ) |
|