diff options
author | Andrei Karas <akaras@inbox.ru> | 2009-10-29 21:08:34 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2009-10-29 21:44:31 +0100 |
commit | c8bb01e2284b0570872be5f638b640d22ae247c8 (patch) | |
tree | 97aeb14f69d422b03f4b509f422239c7da4c9e6c /src/gui/itemamount.h | |
parent | 58b3097bf80a830f2082e26930d0a0f180f5f40c (diff) | |
download | mana-c8bb01e2284b0570872be5f638b640d22ae247c8.tar.gz mana-c8bb01e2284b0570872be5f638b640d22ae247c8.tar.bz2 mana-c8bb01e2284b0570872be5f638b640d22ae247c8.tar.xz mana-c8bb01e2284b0570872be5f638b640d22ae247c8.zip |
Disable keyboard shortcuts in windows with text input.
Disable items shortcuts in setup window.
Disable all shortcuts in ItemAmount window.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/itemamount.h')
-rw-r--r-- | src/gui/itemamount.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/itemamount.h b/src/gui/itemamount.h index 214f8b6b..52b72a38 100644 --- a/src/gui/itemamount.h +++ b/src/gui/itemamount.h @@ -77,6 +77,8 @@ class ItemAmountWindow : public Window, static void showWindow(Usage usage, Window *parent, Item *item, int maxRange = 0); + void scheduleDelete(); + private: static void finish(Item *item, int amount, Usage usage); @@ -95,6 +97,8 @@ class ItemAmountWindow : public Window, * Item Amount buttons. */ gcn::Slider *mItemAmountSlide; + + bool mEnabledKeyboard; }; #endif /* ITEM_AMOUNT_WINDOW_H */ |