set_help_text function to add status bar help texts to any window

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1325 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2009-01-10 00:15:06 +00:00
parent ad415f655f
commit 0a26e17de8
2 changed files with 53 additions and 0 deletions
+6
View File
@@ -23,6 +23,12 @@ class RealRect;
/// Id of the control that has the focus in the given window, or -1 if no control has the focus
int focused_control(const Window* window);
/// (Try to) set the status text of a parent of window
void set_status_text(Window* window, const String& text);
/// Set the help text for a window, it will be shown in the status bar on mouse over
void set_help_text(Window* window, const String& text);
// ----------------------------------------------------------------------------- : DC related
/// Fill a DC with a single color