summaryrefslogtreecommitdiff
path: root/src/gui/shortcutwindow.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-07 15:09:11 -0700
committerIra Rice <irarice@gmail.com>2009-02-07 15:09:11 -0700
commitc42eba00701f28b3cf720d90c73d1cfc6c3815da (patch)
treec9ea05bb8a65c34147f5f62e00db2a4987710bf4 /src/gui/shortcutwindow.h
parente973dd25b1181ddb554a56888c3c361f131b4b3a (diff)
downloadmana-c42eba00701f28b3cf720d90c73d1cfc6c3815da.tar.gz
mana-c42eba00701f28b3cf720d90c73d1cfc6c3815da.tar.bz2
mana-c42eba00701f28b3cf720d90c73d1cfc6c3815da.tar.xz
mana-c42eba00701f28b3cf720d90c73d1cfc6c3815da.zip
Adjusted the shortcut window initialization so that all new shortcut
window instances don't overlap by default. After that, it'll defer to the user's saved window positions. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/shortcutwindow.h')
-rw-r--r--src/gui/shortcutwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/shortcutwindow.h b/src/gui/shortcutwindow.h
index 2711ced5..64592328 100644
--- a/src/gui/shortcutwindow.h
+++ b/src/gui/shortcutwindow.h
@@ -55,6 +55,8 @@ class ShortcutWindow : public Window
ShortcutContainer *mItems;
ScrollArea *mScrollArea;
+
+ static int mInstances;
};
extern ShortcutWindow *itemShortcutWindow;