OpenMW
|
#include <windowmanagerimp.hpp>
Public Types | |
typedef std::pair< std::string, int > | Faction |
typedef std::vector< Faction > | FactionList |
Public Member Functions | |
WindowManager (const Compiler::Extensions &extensions, int fpsLevel, OEngine::Render::OgreRenderer *mOgre, const std::string &logpath, const std::string &cacheDir, bool consoleOnlyScripts, Translation::Storage &translationDataStorage, ToUTF8::FromType encoding) | |
virtual | ~WindowManager () |
void | initUI () |
void | renderWorldMap () |
virtual Loading::Listener * | getLoadingScreen () |
virtual void | update () |
virtual void | setKeyFocusWidget (MyGUI::Widget *widget) |
virtual void | setNewGame (bool newgame) |
virtual void | pushGuiMode (GuiMode mode) |
virtual void | popGuiMode () |
virtual void | removeGuiMode (GuiMode mode) |
can be anywhere in the stack | |
virtual GuiMode | getMode () const |
virtual bool | containsMode (GuiMode mode) const |
virtual bool | isGuiMode () const |
virtual bool | isConsoleMode () const |
virtual void | toggleVisible (GuiWindow wnd) |
virtual void | forceHide (MWGui::GuiWindow wnd) |
virtual void | unsetForceHide (MWGui::GuiWindow wnd) |
virtual void | disallowAll () |
Disallow all inventory mode windows. | |
virtual void | allow (GuiWindow wnd) |
Allow one or more windows. | |
virtual bool | isAllowed (GuiWindow wnd) const |
virtual MWGui::DialogueWindow * | getDialogueWindow () |
virtual MWGui::ContainerWindow * | getContainerWindow () |
virtual MWGui::InventoryWindow * | getInventoryWindow () |
virtual MWGui::BookWindow * | getBookWindow () |
virtual MWGui::ScrollWindow * | getScrollWindow () |
virtual MWGui::CountDialog * | getCountDialog () |
virtual MWGui::ConfirmationDialog * | getConfirmationDialog () |
virtual MWGui::TradeWindow * | getTradeWindow () |
virtual MWGui::SpellBuyingWindow * | getSpellBuyingWindow () |
virtual MWGui::TravelWindow * | getTravelWindow () |
virtual MWGui::SpellWindow * | getSpellWindow () |
virtual MWGui::Console * | getConsole () |
virtual MyGUI::Gui * | getGui () const |
virtual void | wmUpdateFps (float fps, unsigned int triangleCount, unsigned int batchCount) |
Set value for the given ID. | |
virtual void | setValue (const std::string &id, const MWMechanics::Stat< int > &value) |
Set value for the given ID. | |
virtual void | setValue (int parSkill, const MWMechanics::Stat< float > &value) |
virtual void | setValue (const std::string &id, const MWMechanics::DynamicStat< float > &value) |
virtual void | setValue (const std::string &id, const std::string &value) |
virtual void | setValue (const std::string &id, int value) |
virtual void | setDrowningTimeLeft (float time) |
virtual void | setPlayerClass (const ESM::Class &class_) |
set current class of player | |
virtual void | configureSkills (const SkillList &major, const SkillList &minor) |
configure skill groups, each set contains the skill ID for that group. | |
virtual void | setReputation (int reputation) |
set the current reputation value | |
virtual void | setBounty (int bounty) |
set the current bounty value | |
virtual void | updateSkillArea () |
update display of skills, factions, birth sign, reputation and bounty | |
virtual void | changeCell (MWWorld::CellStore *cell) |
change the active cell | |
virtual void | setPlayerPos (const float x, const float y) |
set player position in map space | |
virtual void | setPlayerDir (const float x, const float y) |
set player view direction in map space | |
virtual void | setFocusObject (const MWWorld::Ptr &focus) |
virtual void | setFocusObjectScreenCoords (float min_x, float min_y, float max_x, float max_y) |
virtual void | getMousePosition (int &x, int &y) |
virtual void | getMousePosition (float &x, float &y) |
virtual void | setDragDrop (bool dragDrop) |
virtual bool | getWorldMouseOver () |
virtual void | toggleFogOfWar () |
virtual void | toggleFullHelp () |
show extra info in item tooltips (owner, script) | |
virtual bool | getFullHelp () const |
virtual void | setInteriorMapTexture (const int x, const int y) |
set the index of the map texture that should be used (for interiors) | |
virtual void | setDrowningBarVisibility (bool visible) |
sets the visibility of the drowning bar | |
virtual void | setHMSVisibility (bool visible) |
sets the visibility of the hud health/magicka/stamina bars | |
virtual void | setMinimapVisibility (bool visible) |
sets the visibility of the hud minimap | |
virtual void | setWeaponVisibility (bool visible) |
virtual void | setSpellVisibility (bool visible) |
virtual void | setSneakVisibility (bool visible) |
virtual void | activateQuickKey (int index) |
virtual std::string | getSelectedSpell () |
virtual void | setSelectedSpell (const std::string &spellId, int successChancePercent) |
virtual void | setSelectedEnchantItem (const MWWorld::Ptr &item) |
virtual void | setSelectedWeapon (const MWWorld::Ptr &item) |
virtual void | unsetSelectedSpell () |
virtual void | unsetSelectedWeapon () |
virtual void | showCrosshair (bool show) |
virtual bool | getSubtitlesEnabled () |
virtual void | toggleHud () |
virtual void | disallowMouse () |
virtual void | allowMouse () |
virtual void | notifyInputActionBound () |
virtual void | addVisitedLocation (const std::string &name, int x, int y) |
virtual void | removeDialog (OEngine::GUI::Layout *dialog) |
Hides dialog and schedules dialog to be deleted. | |
virtual void | messageBox (const std::string &message, const std::vector< std::string > &buttons=std::vector< std::string >(), bool showInDialogueModeOnly=false) |
virtual void | staticMessageBox (const std::string &message) |
virtual void | removeStaticMessageBox () |
virtual void | enterPressed () |
virtual void | activateKeyPressed () |
virtual int | readPressedButton () |
returns the index of the pressed button or -1 if no button was pressed (->MessageBoxmanager->InteractiveMessageBox) | |
virtual void | onFrame (float frameDuration) |
virtual std::map< int, MWMechanics::Stat< float > > | getPlayerSkillValues () |
virtual std::map< int, MWMechanics::Stat< int > > | getPlayerAttributeValues () |
virtual SkillList | getPlayerMinorSkills () |
virtual SkillList | getPlayerMajorSkills () |
virtual std::string | getGameSettingString (const std::string &id, const std::string &default_) |
virtual void | processChangedSettings (const Settings::CategorySettingVector &changed) |
virtual void | windowResized (int x, int y) |
virtual void | executeInConsole (const std::string &path) |
virtual void | enableRest () |
virtual bool | getRestEnabled () |
virtual bool | getJournalAllowed () |
virtual bool | getPlayerSleeping () |
virtual void | wakeUpPlayer () |
virtual void | updatePlayer () |
virtual void | showCompanionWindow (MWWorld::Ptr actor) |
virtual void | startSpellMaking (MWWorld::Ptr actor) |
virtual void | startEnchanting (MWWorld::Ptr actor) |
virtual void | startSelfEnchanting (MWWorld::Ptr soulgem) |
virtual void | startTraining (MWWorld::Ptr actor) |
virtual void | startRepair (MWWorld::Ptr actor) |
virtual void | startRepairItem (MWWorld::Ptr item) |
virtual void | startRecharge (MWWorld::Ptr soulgem) |
virtual void | frameStarted (float dt) |
virtual void | showSoulgemDialog (MWWorld::Ptr item) |
virtual void | changePointer (const std::string &name) |
virtual void | setEnemy (const MWWorld::Ptr &enemy) |
virtual const Translation::Storage & | getTranslationDataStorage () const |
void | onSoulgemDialogButtonPressed (int button) |
virtual bool | getCursorVisible () |
Should the cursor be visible? | |
Private Member Functions | |
void | trackWindow (OEngine::GUI::Layout *layout, const std::string &name) |
void | onWindowChangeCoord (MyGUI::Window *_sender) |
void | setCursorVisible (bool visible) |
void | cleanupGarbage () |
void | updateVisible () |
void | onRetrieveTag (const MyGUI::UString &_tag, MyGUI::UString &_result) |
void | onCursorChange (const std::string &name) |
void | onKeyFocusChanged (MyGUI::Widget *widget) |
Private Attributes | |
bool | mConsoleOnlyScripts |
std::map< MyGUI::Window *, std::string > | mTrackedWindows |
std::string | mSelectedSpell |
OEngine::GUI::MyGUIManager * | mGuiManager |
OEngine::Render::OgreRenderer * | mRendering |
HUD * | mHud |
MapWindow * | mMap |
MainMenu * | mMenu |
ToolTips * | mToolTips |
StatsWindow * | mStatsWindow |
MessageBoxManager * | mMessageBoxManager |
Console * | mConsole |
JournalWindow * | mJournal |
DialogueWindow * | mDialogueWindow |
ContainerWindow * | mContainerWindow |
DragAndDrop * | mDragAndDrop |
InventoryWindow * | mInventoryWindow |
ScrollWindow * | mScrollWindow |
BookWindow * | mBookWindow |
CountDialog * | mCountDialog |
TradeWindow * | mTradeWindow |
SpellBuyingWindow * | mSpellBuyingWindow |
TravelWindow * | mTravelWindow |
SettingsWindow * | mSettingsWindow |
ConfirmationDialog * | mConfirmationDialog |
AlchemyWindow * | mAlchemyWindow |
SpellWindow * | mSpellWindow |
QuickKeysMenu * | mQuickKeysMenu |
LoadingScreen * | mLoadingScreen |
LevelupDialog * | mLevelupDialog |
WaitDialog * | mWaitDialog |
SpellCreationDialog * | mSpellCreationDialog |
EnchantingDialog * | mEnchantingDialog |
TrainingWindow * | mTrainingWindow |
MerchantRepair * | mMerchantRepair |
SoulgemDialog * | mSoulgemDialog |
Repair * | mRepair |
Recharge * | mRecharge |
CompanionWindow * | mCompanionWindow |
Translation::Storage & | mTranslationDataStorage |
Cursor * | mSoftwareCursor |
CharacterCreation * | mCharGen |
MyGUI::Widget * | mInputBlocker |
bool | mCrosshairEnabled |
bool | mSubtitlesEnabled |
bool | mHudEnabled |
bool | mCursorVisible |
std::string | mPlayerName |
std::string | mPlayerRaceId |
std::map< int, MWMechanics::Stat< int > > | mPlayerAttributes |
SkillList | mPlayerMajorSkills |
SkillList | mPlayerMinorSkills |
std::map< int, MWMechanics::Stat< float > > | mPlayerSkillValues |
MyGUI::Gui * | mGui |
std::vector< GuiMode > | mGuiModes |
SFO::CursorManager * | mCursorManager |
std::vector < OEngine::GUI::Layout * > | mGarbageDialogs |
GuiWindow | mShown |
GuiWindow | mForceHidden |
GuiWindow | mAllowed |
bool | mRestAllowed |
int | mShowFPSLevel |
float | mFPS |
unsigned int | mTriangleCount |
unsigned int | mBatchCount |
typedef std::pair<std::string, int> MWGui::WindowManager::Faction |
typedef std::vector<Faction> MWGui::WindowManager::FactionList |
MWGui::WindowManager::WindowManager | ( | const Compiler::Extensions & | extensions, |
int | fpsLevel, | ||
OEngine::Render::OgreRenderer * | mOgre, | ||
const std::string & | logpath, | ||
const std::string & | cacheDir, | ||
bool | consoleOnlyScripts, | ||
Translation::Storage & | translationDataStorage, | ||
ToUTF8::FromType | encoding | ||
) |
MWGui::WindowManager::~WindowManager | ( | ) | [virtual] |
Reimplemented from MWBase::WindowManager.
void MWGui::WindowManager::activateKeyPressed | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::activateQuickKey | ( | int | index | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::addVisitedLocation | ( | const std::string & | name, |
int | x, | ||
int | y | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::allow | ( | GuiWindow | wnd | ) | [virtual] |
Allow one or more windows.
Implements MWBase::WindowManager.
void MWGui::WindowManager::allowMouse | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::changeCell | ( | MWWorld::CellStore * | cell | ) | [virtual] |
change the active cell
Implements MWBase::WindowManager.
void MWGui::WindowManager::changePointer | ( | const std::string & | name | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::cleanupGarbage | ( | ) | [private] |
void MWGui::WindowManager::configureSkills | ( | const SkillList & | major, |
const SkillList & | minor | ||
) | [virtual] |
configure skill groups, each set contains the skill ID for that group.
Implements MWBase::WindowManager.
bool MWGui::WindowManager::containsMode | ( | GuiMode | mode | ) | const [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::disallowAll | ( | ) | [virtual] |
Disallow all inventory mode windows.
Implements MWBase::WindowManager.
void MWGui::WindowManager::disallowMouse | ( | ) | [virtual] |
Implements MWBase::WindowManager.
virtual void MWGui::WindowManager::enableRest | ( | ) | [inline, virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::enterPressed | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::executeInConsole | ( | const std::string & | path | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::forceHide | ( | MWGui::GuiWindow | wnd | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::frameStarted | ( | float | dt | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::BookWindow * MWGui::WindowManager::getBookWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::ConfirmationDialog * MWGui::WindowManager::getConfirmationDialog | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::Console * MWGui::WindowManager::getConsole | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::ContainerWindow * MWGui::WindowManager::getContainerWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::CountDialog * MWGui::WindowManager::getCountDialog | ( | ) | [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::getCursorVisible | ( | ) | [virtual] |
Should the cursor be visible?
Implements MWBase::WindowManager.
MWGui::DialogueWindow * MWGui::WindowManager::getDialogueWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::getFullHelp | ( | ) | const [virtual] |
Implements MWBase::WindowManager.
std::string MWGui::WindowManager::getGameSettingString | ( | const std::string & | id, |
const std::string & | default_ | ||
) | [virtual] |
Fetches a GMST string from the store, if there is no setting with the given ID or it is not a string the default string is returned.
id | Identifier for the GMST setting, e.g. "aName" |
default | Default value if the GMST setting cannot be used. |
Implements MWBase::WindowManager.
MyGUI::Gui * MWGui::WindowManager::getGui | ( | ) | const [virtual] |
Implements MWBase::WindowManager.
MWGui::InventoryWindow * MWGui::WindowManager::getInventoryWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
virtual bool MWGui::WindowManager::getJournalAllowed | ( | ) | [inline, virtual] |
Implements MWBase::WindowManager.
Loading::Listener * MWGui::WindowManager::getLoadingScreen | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::GuiMode MWGui::WindowManager::getMode | ( | ) | const [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::getMousePosition | ( | int & | x, |
int & | y | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::getMousePosition | ( | float & | x, |
float & | y | ||
) | [virtual] |
Implements MWBase::WindowManager.
std::map< int, MWMechanics::Stat< int > > MWGui::WindowManager::getPlayerAttributeValues | ( | ) | [virtual] |
Implements MWBase::WindowManager.
Implements MWBase::WindowManager.
Implements MWBase::WindowManager.
std::map< int, MWMechanics::Stat< float > > MWGui::WindowManager::getPlayerSkillValues | ( | ) | [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::getPlayerSleeping | ( | ) | [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::getRestEnabled | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::ScrollWindow * MWGui::WindowManager::getScrollWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
virtual std::string MWGui::WindowManager::getSelectedSpell | ( | ) | [inline, virtual] |
Implements MWBase::WindowManager.
MWGui::SpellBuyingWindow * MWGui::WindowManager::getSpellBuyingWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::SpellWindow * MWGui::WindowManager::getSpellWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::getSubtitlesEnabled | ( | ) | [virtual] |
Implements MWBase::WindowManager.
MWGui::TradeWindow * MWGui::WindowManager::getTradeWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
const Translation::Storage & MWGui::WindowManager::getTranslationDataStorage | ( | ) | const [virtual] |
Implements MWBase::WindowManager.
MWGui::TravelWindow * MWGui::WindowManager::getTravelWindow | ( | ) | [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::getWorldMouseOver | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::initUI | ( | ) |
bool MWGui::WindowManager::isAllowed | ( | GuiWindow | wnd | ) | const [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::isConsoleMode | ( | ) | const [virtual] |
Implements MWBase::WindowManager.
bool MWGui::WindowManager::isGuiMode | ( | ) | const [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::messageBox | ( | const std::string & | message, |
const std::vector< std::string > & | buttons = std::vector<std::string>() , |
||
bool | showInDialogueModeOnly = false |
||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::notifyInputActionBound | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::onCursorChange | ( | const std::string & | name | ) | [private] |
void MWGui::WindowManager::onFrame | ( | float | frameDuration | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::onKeyFocusChanged | ( | MyGUI::Widget * | widget | ) | [private] |
void MWGui::WindowManager::onRetrieveTag | ( | const MyGUI::UString & | _tag, |
MyGUI::UString & | _result | ||
) | [private] |
Called when MyGUI tries to retrieve a tag. This usually corresponds to a GMST string, so this method will retrieve the GMST with the name _tag and place the result in _result
void MWGui::WindowManager::onSoulgemDialogButtonPressed | ( | int | button | ) |
void MWGui::WindowManager::onWindowChangeCoord | ( | MyGUI::Window * | _sender | ) | [private] |
void MWGui::WindowManager::popGuiMode | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::processChangedSettings | ( | const Settings::CategorySettingVector & | changed | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::pushGuiMode | ( | GuiMode | mode | ) | [virtual] |
Implements MWBase::WindowManager.
int MWGui::WindowManager::readPressedButton | ( | ) | [virtual] |
returns the index of the pressed button or -1 if no button was pressed (->MessageBoxmanager->InteractiveMessageBox)
Implements MWBase::WindowManager.
void MWGui::WindowManager::removeDialog | ( | OEngine::GUI::Layout * | dialog | ) | [virtual] |
Hides dialog and schedules dialog to be deleted.
Implements MWBase::WindowManager.
void MWGui::WindowManager::removeGuiMode | ( | GuiMode | mode | ) | [virtual] |
can be anywhere in the stack
Implements MWBase::WindowManager.
void MWGui::WindowManager::removeStaticMessageBox | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::renderWorldMap | ( | ) |
void MWGui::WindowManager::setBounty | ( | int | bounty | ) | [virtual] |
set the current bounty value
Implements MWBase::WindowManager.
void MWGui::WindowManager::setCursorVisible | ( | bool | visible | ) | [private, virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setDragDrop | ( | bool | dragDrop | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setDrowningBarVisibility | ( | bool | visible | ) | [virtual] |
sets the visibility of the drowning bar
Implements MWBase::WindowManager.
void MWGui::WindowManager::setDrowningTimeLeft | ( | float | time | ) | [virtual] |
Set time left for the player to start drowning (update the drowning bar)
time | value from [0,20] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setEnemy | ( | const MWWorld::Ptr & | enemy | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setFocusObject | ( | const MWWorld::Ptr & | focus | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setFocusObjectScreenCoords | ( | float | min_x, |
float | min_y, | ||
float | max_x, | ||
float | max_y | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setHMSVisibility | ( | bool | visible | ) | [virtual] |
sets the visibility of the hud health/magicka/stamina bars
Implements MWBase::WindowManager.
void MWGui::WindowManager::setInteriorMapTexture | ( | const int | x, |
const int | y | ||
) | [virtual] |
set the index of the map texture that should be used (for interiors)
Implements MWBase::WindowManager.
void MWGui::WindowManager::setKeyFocusWidget | ( | MyGUI::Widget * | widget | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setMinimapVisibility | ( | bool | visible | ) | [virtual] |
sets the visibility of the hud minimap
Implements MWBase::WindowManager.
void MWGui::WindowManager::setNewGame | ( | bool | newgame | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setPlayerClass | ( | const ESM::Class & | class_ | ) | [virtual] |
set current class of player
Implements MWBase::WindowManager.
void MWGui::WindowManager::setPlayerDir | ( | const float | x, |
const float | y | ||
) | [virtual] |
set player view direction in map space
Implements MWBase::WindowManager.
void MWGui::WindowManager::setPlayerPos | ( | const float | x, |
const float | y | ||
) | [virtual] |
set player position in map space
Implements MWBase::WindowManager.
void MWGui::WindowManager::setReputation | ( | int | reputation | ) | [virtual] |
set the current reputation value
Implements MWBase::WindowManager.
void MWGui::WindowManager::setSelectedEnchantItem | ( | const MWWorld::Ptr & | item | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setSelectedSpell | ( | const std::string & | spellId, |
int | successChancePercent | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setSelectedWeapon | ( | const MWWorld::Ptr & | item | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setSneakVisibility | ( | bool | visible | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setSpellVisibility | ( | bool | visible | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setValue | ( | const std::string & | id, |
const MWMechanics::Stat< int > & | value | ||
) | [virtual] |
Set value for the given ID.
Implements MWBase::WindowManager.
void MWGui::WindowManager::setValue | ( | int | parSkill, |
const MWMechanics::Stat< float > & | value | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setValue | ( | const std::string & | id, |
const MWMechanics::DynamicStat< float > & | value | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setValue | ( | const std::string & | id, |
const std::string & | value | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setValue | ( | const std::string & | id, |
int | value | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::setWeaponVisibility | ( | bool | visible | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::showCompanionWindow | ( | MWWorld::Ptr | actor | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::showCrosshair | ( | bool | show | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::showSoulgemDialog | ( | MWWorld::Ptr | item | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::startEnchanting | ( | MWWorld::Ptr | actor | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::startRecharge | ( | MWWorld::Ptr | soulgem | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::startRepair | ( | MWWorld::Ptr | actor | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::startRepairItem | ( | MWWorld::Ptr | item | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::startSelfEnchanting | ( | MWWorld::Ptr | soulgem | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::startSpellMaking | ( | MWWorld::Ptr | actor | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::startTraining | ( | MWWorld::Ptr | actor | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::staticMessageBox | ( | const std::string & | message | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::toggleFogOfWar | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::toggleFullHelp | ( | ) | [virtual] |
show extra info in item tooltips (owner, script)
Implements MWBase::WindowManager.
void MWGui::WindowManager::toggleHud | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::toggleVisible | ( | GuiWindow | wnd | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::trackWindow | ( | OEngine::GUI::Layout * | layout, |
const std::string & | name | ||
) | [private] |
void MWGui::WindowManager::unsetForceHide | ( | MWGui::GuiWindow | wnd | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::unsetSelectedSpell | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::unsetSelectedWeapon | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::update | ( | ) | [virtual] |
Should be called each frame to update windows/gui elements. This could mean updating sizes of gui elements or opening new dialogs.
Implements MWBase::WindowManager.
void MWGui::WindowManager::updatePlayer | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::updateSkillArea | ( | ) | [virtual] |
update display of skills, factions, birth sign, reputation and bounty
Implements MWBase::WindowManager.
void MWGui::WindowManager::updateVisible | ( | ) | [private] |
void MWGui::WindowManager::wakeUpPlayer | ( | ) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::windowResized | ( | int | x, |
int | y | ||
) | [virtual] |
Implements MWBase::WindowManager.
void MWGui::WindowManager::wmUpdateFps | ( | float | fps, |
unsigned int | triangleCount, | ||
unsigned int | batchCount | ||
) | [virtual] |
Set value for the given ID.
Implements MWBase::WindowManager.
GuiWindow MWGui::WindowManager::mAllowed [private] |
unsigned int MWGui::WindowManager::mBatchCount [private] |
BookWindow* MWGui::WindowManager::mBookWindow [private] |
CharacterCreation* MWGui::WindowManager::mCharGen [private] |
Console* MWGui::WindowManager::mConsole [private] |
bool MWGui::WindowManager::mConsoleOnlyScripts [private] |
CountDialog* MWGui::WindowManager::mCountDialog [private] |
bool MWGui::WindowManager::mCrosshairEnabled [private] |
SFO::CursorManager* MWGui::WindowManager::mCursorManager [private] |
bool MWGui::WindowManager::mCursorVisible [private] |
DragAndDrop* MWGui::WindowManager::mDragAndDrop [private] |
GuiWindow MWGui::WindowManager::mForceHidden [private] |
float MWGui::WindowManager::mFPS [private] |
std::vector<OEngine::GUI::Layout*> MWGui::WindowManager::mGarbageDialogs [private] |
MyGUI::Gui* MWGui::WindowManager::mGui [private] |
std::vector<GuiMode> MWGui::WindowManager::mGuiModes [private] |
HUD* MWGui::WindowManager::mHud [private] |
bool MWGui::WindowManager::mHudEnabled [private] |
MyGUI::Widget* MWGui::WindowManager::mInputBlocker [private] |
JournalWindow* MWGui::WindowManager::mJournal [private] |
MapWindow* MWGui::WindowManager::mMap [private] |
MainMenu* MWGui::WindowManager::mMenu [private] |
std::map<int, MWMechanics::Stat<int> > MWGui::WindowManager::mPlayerAttributes [private] |
std::string MWGui::WindowManager::mPlayerName [private] |
std::string MWGui::WindowManager::mPlayerRaceId [private] |
std::map<int, MWMechanics::Stat<float> > MWGui::WindowManager::mPlayerSkillValues [private] |
Recharge* MWGui::WindowManager::mRecharge [private] |
Repair* MWGui::WindowManager::mRepair [private] |
bool MWGui::WindowManager::mRestAllowed [private] |
ScrollWindow* MWGui::WindowManager::mScrollWindow [private] |
std::string MWGui::WindowManager::mSelectedSpell [private] |
int MWGui::WindowManager::mShowFPSLevel [private] |
GuiWindow MWGui::WindowManager::mShown [private] |
Cursor* MWGui::WindowManager::mSoftwareCursor [private] |
SpellWindow* MWGui::WindowManager::mSpellWindow [private] |
StatsWindow* MWGui::WindowManager::mStatsWindow [private] |
bool MWGui::WindowManager::mSubtitlesEnabled [private] |
ToolTips* MWGui::WindowManager::mToolTips [private] |
std::map<MyGUI::Window*, std::string> MWGui::WindowManager::mTrackedWindows [private] |
TradeWindow* MWGui::WindowManager::mTradeWindow [private] |
TravelWindow* MWGui::WindowManager::mTravelWindow [private] |
unsigned int MWGui::WindowManager::mTriangleCount [private] |
WaitDialog* MWGui::WindowManager::mWaitDialog [private] |