Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index c516d47..527d959 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -24,6 +24,12 @@ public:
/// list widgets
void list();
+ /// list meus
+ void list_menus();
+
+ /// reload menu files
+ void load();
+
/// make a window the active window
void show_window(char const *label);
@@ -33,12 +39,16 @@ public:
/// return the active window
Window *active() { return ui_active_window; }
+ /// set mouse cursor position
+ void set_mouse_cursor(float x, float y);
+
protected:
virtual void add_window(Window *window);
virtual void remove_window(Window *window);
private:
- Window *ui_active_window;
+ Window *ui_active_window;
+ math::Vector2f mouse_cursor;
};
/// initialize the user interface