mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 20:19:57 +00:00
Icon fix
This commit is contained in:
parent
e306853570
commit
8e0a988289
9 changed files with 1 additions and 12 deletions
|
@ -5,7 +5,6 @@
|
|||
#include <MyGUI_Gui.h>
|
||||
|
||||
#include <components/esm/records.hpp>
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
|
||||
#include "../mwbase/environment.hpp"
|
||||
#include "../mwbase/world.hpp"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
||||
#include <components/interpreter/defines.hpp>
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
#include <components/misc/stringops.hpp>
|
||||
|
||||
#include "../mwscript/interpretercontext.hpp"
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include <MyGUI_ImageBox.h>
|
||||
#include <MyGUI_ScrollView.h>
|
||||
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
#include <components/settings/settings.hpp>
|
||||
|
||||
#include "../mwbase/environment.hpp"
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
#include <MyGUI_ImageBox.h>
|
||||
#include <MyGUI_TextBox.h>
|
||||
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
|
||||
// correctIconPath
|
||||
#include "../mwbase/environment.hpp"
|
||||
#include "../mwbase/windowmanager.hpp"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <MyGUI_ImageBox.h>
|
||||
|
||||
#include <components/esm/quickkeys.hpp>
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
|
||||
#include "../mwworld/inventorystore.hpp"
|
||||
#include "../mwworld/class.hpp"
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <MyGUI_ImageBox.h>
|
||||
#include <MyGUI_Gui.h>
|
||||
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
#include <components/esm/records.hpp>
|
||||
#include <components/widgets/list.hpp>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <MyGUI_ImageBox.h>
|
||||
|
||||
#include <components/esm/loadmgef.hpp>
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
|
||||
#include "../mwbase/world.hpp"
|
||||
#include "../mwbase/environment.hpp"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <MyGUI_InputManager.h>
|
||||
#include <MyGUI_ImageBox.h>
|
||||
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
#include <components/settings/settings.hpp>
|
||||
|
||||
#include "../mwbase/world.hpp"
|
||||
|
@ -782,7 +781,7 @@ namespace MWGui
|
|||
std::string icon = effect->mIcon;
|
||||
int slashPos = icon.rfind('\\');
|
||||
icon.insert(slashPos+1, "b_");
|
||||
//icon = Misc::ResourceHelpers::correctIconPath(icon);
|
||||
icon = MWBase::Environment::get().getWindowManager()->correctIconPath(icon);
|
||||
|
||||
widget->setUserString("ToolTipType", "Layout");
|
||||
widget->setUserString("ToolTipLayout", "MagicEffectToolTip");
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include <MyGUI_ImageBox.h>
|
||||
#include <MyGUI_ControllerManager.h>
|
||||
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
|
||||
#include "../mwbase/environment.hpp"
|
||||
#include "../mwbase/world.hpp"
|
||||
#include "../mwbase/windowmanager.hpp"
|
||||
|
|
Loading…
Reference in a new issue