OpenMW
Public Types | Public Member Functions | Private Member Functions | Private Attributes
MWGui::QuickKeysMenu Class Reference

#include <quickkeysmenu.hpp>

List of all members.

Public Types

enum  QuickKeyType { Type_Item, Type_Magic, Type_MagicItem, Type_Unassigned }

Public Member Functions

 QuickKeysMenu ()
 ~QuickKeysMenu ()
void onItemButtonClicked (MyGUI::Widget *sender)
void onMagicButtonClicked (MyGUI::Widget *sender)
void onUnassignButtonClicked (MyGUI::Widget *sender)
void onCancelButtonClicked (MyGUI::Widget *sender)
void onAssignItem (MWWorld::Ptr item)
void onAssignItemCancel ()
void onAssignMagicItem (MWWorld::Ptr item)
void onAssignMagic (const std::string &spellId)
void onAssignMagicCancel ()
void activateQuickKey (int index)

Private Member Functions

void onQuickKeyButtonClicked (MyGUI::Widget *sender)
void onOkButtonClicked (MyGUI::Widget *sender)
void unassign (MyGUI::Widget *key, int index)

Private Attributes

MyGUI::EditBox * mInstructionLabel
MyGUI::Button * mOkButton
std::vector< MyGUI::Button * > mQuickKeyButtons
QuickKeysMenuAssignmAssignDialog
ItemSelectionDialogmItemSelectionDialog
MagicSelectionDialogmMagicSelectionDialog
int mSelectedIndex

Member Enumeration Documentation

Enumerator:
Type_Item 
Type_Magic 
Type_MagicItem 
Type_Unassigned 

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::QuickKeysMenu::onAssignMagic ( const std::string &  spellId)
void MWGui::QuickKeysMenu::onCancelButtonClicked ( MyGUI::Widget *  sender)
void MWGui::QuickKeysMenu::onItemButtonClicked ( MyGUI::Widget *  sender)
void MWGui::QuickKeysMenu::onMagicButtonClicked ( MyGUI::Widget *  sender)
void MWGui::QuickKeysMenu::onOkButtonClicked ( MyGUI::Widget *  sender) [private]
void MWGui::QuickKeysMenu::onQuickKeyButtonClicked ( MyGUI::Widget *  sender) [private]
void MWGui::QuickKeysMenu::onUnassignButtonClicked ( MyGUI::Widget *  sender)
void MWGui::QuickKeysMenu::unassign ( MyGUI::Widget *  key,
int  index 
) [private]

Member Data Documentation

MyGUI::EditBox* MWGui::QuickKeysMenu::mInstructionLabel [private]
MyGUI::Button* MWGui::QuickKeysMenu::mOkButton [private]
std::vector<MyGUI::Button*> MWGui::QuickKeysMenu::mQuickKeyButtons [private]

The documentation for this class was generated from the following files: