forked from teamnwah/openmw-tes3coop
fixed some "using namespace" in headers
This commit is contained in:
parent
56061474c4
commit
35dd49f948
13 changed files with 51 additions and 70 deletions
|
@ -493,7 +493,7 @@ namespace MWGui
|
||||||
|
|
||||||
MyGUI::IntCoord coord(0, 0, mEffectsBox->getWidth(), 24);
|
MyGUI::IntCoord coord(0, 0, mEffectsBox->getWidth(), 24);
|
||||||
Widgets::MWEffectListPtr effectsWidget = mEffectsBox->createWidget<Widgets::MWEffectList>
|
Widgets::MWEffectListPtr effectsWidget = mEffectsBox->createWidget<Widgets::MWEffectList>
|
||||||
("MW_StatName", coord, Align::Left | Align::Top);
|
("MW_StatName", coord, MyGUI::Align::Left | MyGUI::Align::Top);
|
||||||
effectsWidget->setWindowManager(&mWindowManager);
|
effectsWidget->setWindowManager(&mWindowManager);
|
||||||
effectsWidget->setEffectList(effects);
|
effectsWidget->setEffectList(effects);
|
||||||
|
|
||||||
|
|
|
@ -10,9 +10,6 @@
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
/// \todo remove
|
|
||||||
using namespace MyGUI;
|
|
||||||
|
|
||||||
class BirthDialog : public WindowBase
|
class BirthDialog : public WindowBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -31,7 +28,7 @@ namespace MWGui
|
||||||
virtual void open();
|
virtual void open();
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Back button clicked.\n
|
/** Event : Back button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
|
|
@ -12,9 +12,6 @@
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
/// \todo remove!
|
|
||||||
using namespace MyGUI;
|
|
||||||
|
|
||||||
class InfoBoxDialog : public WindowBase
|
class InfoBoxDialog : public WindowBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -30,7 +27,7 @@ namespace MWGui
|
||||||
int getChosenButton() const;
|
int getChosenButton() const;
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate1<int> EventHandle_Int;
|
typedef MyGUI::delegates::CMultiDelegate1<int> EventHandle_Int;
|
||||||
|
|
||||||
/** Event : Button was clicked.\n
|
/** Event : Button was clicked.\n
|
||||||
signature : void method(int index)\n
|
signature : void method(int index)\n
|
||||||
|
@ -75,7 +72,7 @@ namespace MWGui
|
||||||
void setClassId(const std::string &classId);
|
void setClassId(const std::string &classId);
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Back button clicked.\n
|
/** Event : Back button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
@ -105,7 +102,7 @@ namespace MWGui
|
||||||
virtual void open();
|
virtual void open();
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Back button clicked.\n
|
/** Event : Back button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
@ -141,7 +138,7 @@ namespace MWGui
|
||||||
ESM::Class::Specialization getSpecializationId() const { return mSpecializationId; }
|
ESM::Class::Specialization getSpecializationId() const { return mSpecializationId; }
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Cancel button clicked.\n
|
/** Event : Cancel button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
@ -174,7 +171,7 @@ namespace MWGui
|
||||||
void setAffectedWidget(Widgets::MWAttributePtr widget) { mAffectedWidget = widget; }
|
void setAffectedWidget(Widgets::MWAttributePtr widget) { mAffectedWidget = widget; }
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Cancel button clicked.\n
|
/** Event : Cancel button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
@ -207,7 +204,7 @@ namespace MWGui
|
||||||
void setAffectedWidget(Widgets::MWSkillPtr widget) { mAffectedWidget = widget; }
|
void setAffectedWidget(Widgets::MWSkillPtr widget) { mAffectedWidget = widget; }
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Cancel button clicked.\n
|
/** Event : Cancel button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
@ -264,7 +261,7 @@ namespace MWGui
|
||||||
void setNextButtonShow(bool shown);
|
void setNextButtonShow(bool shown);
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Back button clicked.\n
|
/** Event : Back button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
|
|
@ -76,7 +76,7 @@ ContainerBase::ContainerBase(DragAndDrop* dragAndDrop) :
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void ContainerBase::setWidgets(Widget* containerWidget, ScrollView* itemView)
|
void ContainerBase::setWidgets(MyGUI::Widget* containerWidget, MyGUI::ScrollView* itemView)
|
||||||
{
|
{
|
||||||
mContainerWidget = containerWidget;
|
mContainerWidget = containerWidget;
|
||||||
mItemView = itemView;
|
mItemView = itemView;
|
||||||
|
@ -471,7 +471,7 @@ void ContainerBase::drawItems()
|
||||||
|
|
||||||
// background widget (for the "equipped" frame and magic item background image)
|
// background widget (for the "equipped" frame and magic item background image)
|
||||||
bool isMagic = (MWWorld::Class::get(*iter).getEnchantment(*iter) != "");
|
bool isMagic = (MWWorld::Class::get(*iter).getEnchantment(*iter) != "");
|
||||||
MyGUI::ImageBox* backgroundWidget = mContainerWidget->createWidget<ImageBox>("ImageBox", MyGUI::IntCoord(x, y, 42, 42), MyGUI::Align::Default);
|
MyGUI::ImageBox* backgroundWidget = mContainerWidget->createWidget<MyGUI::ImageBox>("ImageBox", MyGUI::IntCoord(x, y, 42, 42), MyGUI::Align::Default);
|
||||||
backgroundWidget->setUserString("ToolTipType", "ItemPtr");
|
backgroundWidget->setUserString("ToolTipType", "ItemPtr");
|
||||||
backgroundWidget->setUserData(*iter);
|
backgroundWidget->setUserData(*iter);
|
||||||
|
|
||||||
|
@ -503,7 +503,7 @@ void ContainerBase::drawItems()
|
||||||
backgroundWidget->eventMouseWheel += MyGUI::newDelegate(this, &ContainerBase::onMouseWheel);
|
backgroundWidget->eventMouseWheel += MyGUI::newDelegate(this, &ContainerBase::onMouseWheel);
|
||||||
|
|
||||||
// image
|
// image
|
||||||
ImageBox* image = backgroundWidget->createWidget<ImageBox>("ImageBox", MyGUI::IntCoord(5, 5, 32, 32), MyGUI::Align::Default);
|
MyGUI::ImageBox* image = backgroundWidget->createWidget<MyGUI::ImageBox>("ImageBox", MyGUI::IntCoord(5, 5, 32, 32), MyGUI::Align::Default);
|
||||||
int pos = path.rfind(".");
|
int pos = path.rfind(".");
|
||||||
path.erase(pos);
|
path.erase(pos);
|
||||||
path.append(".dds");
|
path.append(".dds");
|
||||||
|
|
|
@ -54,7 +54,7 @@ DialogueWindow::DialogueWindow(MWBase::WindowManager& parWindowManager)
|
||||||
getWidget(mHistory, "History");
|
getWidget(mHistory, "History");
|
||||||
mHistory->setOverflowToTheLeft(true);
|
mHistory->setOverflowToTheLeft(true);
|
||||||
mHistory->setMaxTextLength(1000000);
|
mHistory->setMaxTextLength(1000000);
|
||||||
Widget* eventbox;
|
MyGUI::Widget* eventbox;
|
||||||
|
|
||||||
//An EditBox cannot receive mouse click events, so we use an
|
//An EditBox cannot receive mouse click events, so we use an
|
||||||
//invisible widget on top of the editbox to receive them
|
//invisible widget on top of the editbox to receive them
|
||||||
|
@ -78,11 +78,11 @@ DialogueWindow::DialogueWindow(MWBase::WindowManager& parWindowManager)
|
||||||
|
|
||||||
void DialogueWindow::onHistoryClicked(MyGUI::Widget* _sender)
|
void DialogueWindow::onHistoryClicked(MyGUI::Widget* _sender)
|
||||||
{
|
{
|
||||||
ISubWidgetText* t = mHistory->getClient()->getSubWidgetText();
|
MyGUI::ISubWidgetText* t = mHistory->getClient()->getSubWidgetText();
|
||||||
if(t == nullptr)
|
if(t == nullptr)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const IntPoint& lastPressed = InputManager::getInstance().getLastPressedPosition(MyGUI::MouseButton::Left);
|
const MyGUI::IntPoint& lastPressed = MyGUI::InputManager::getInstance().getLastPressedPosition(MyGUI::MouseButton::Left);
|
||||||
|
|
||||||
size_t cursorPosition = t->getCursorPosition(lastPressed);
|
size_t cursorPosition = t->getCursorPosition(lastPressed);
|
||||||
MyGUI::UString color = mHistory->getColorAtPos(cursorPosition);
|
MyGUI::UString color = mHistory->getColorAtPos(cursorPosition);
|
||||||
|
@ -92,7 +92,7 @@ void DialogueWindow::onHistoryClicked(MyGUI::Widget* _sender)
|
||||||
|
|
||||||
if(color != "#B29154")
|
if(color != "#B29154")
|
||||||
{
|
{
|
||||||
UString key = mHistory->getColorTextAt(cursorPosition);
|
MyGUI::UString key = mHistory->getColorTextAt(cursorPosition);
|
||||||
if(color == "#686EBA") MWBase::Environment::get().getDialogueManager()->keywordSelected(lower_string(key));
|
if(color == "#686EBA") MWBase::Environment::get().getDialogueManager()->keywordSelected(lower_string(key));
|
||||||
|
|
||||||
if(color == "#572D21") MWBase::Environment::get().getDialogueManager()->questionAnswered(lower_string(key));
|
if(color == "#572D21") MWBase::Environment::get().getDialogueManager()->questionAnswered(lower_string(key));
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
using namespace MWGui;
|
using namespace MWGui;
|
||||||
using namespace Widgets;
|
using namespace Widgets;
|
||||||
|
|
||||||
UString DialogueHistory::getColorAtPos(size_t _pos)
|
MyGUI::UString DialogueHistory::getColorAtPos(size_t _pos)
|
||||||
{
|
{
|
||||||
UString colour = TextIterator::convertTagColour(getTextColour());
|
MyGUI::UString colour = MyGUI::TextIterator::convertTagColour(getTextColour());
|
||||||
TextIterator iterator(getCaption());
|
MyGUI::TextIterator iterator(getCaption());
|
||||||
while(iterator.moveNext())
|
while(iterator.moveNext())
|
||||||
{
|
{
|
||||||
size_t pos = iterator.getPosition();
|
size_t pos = iterator.getPosition();
|
||||||
|
@ -30,13 +30,13 @@ UString DialogueHistory::getColorAtPos(size_t _pos)
|
||||||
return colour;
|
return colour;
|
||||||
}
|
}
|
||||||
|
|
||||||
UString DialogueHistory::getColorTextAt(size_t _pos)
|
MyGUI::UString DialogueHistory::getColorTextAt(size_t _pos)
|
||||||
{
|
{
|
||||||
bool breakOnNext = false;
|
bool breakOnNext = false;
|
||||||
UString colour = TextIterator::convertTagColour(getTextColour());
|
MyGUI::UString colour = MyGUI::TextIterator::convertTagColour(getTextColour());
|
||||||
UString colour2 = colour;
|
MyGUI::UString colour2 = colour;
|
||||||
TextIterator iterator(getCaption());
|
MyGUI::TextIterator iterator(getCaption());
|
||||||
TextIterator col_start = iterator;
|
MyGUI::TextIterator col_start = iterator;
|
||||||
while(iterator.moveNext())
|
while(iterator.moveNext())
|
||||||
{
|
{
|
||||||
size_t pos = iterator.getPosition();
|
size_t pos = iterator.getPosition();
|
||||||
|
@ -60,15 +60,15 @@ UString DialogueHistory::getColorTextAt(size_t _pos)
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogueHistory::addDialogHeading(const UString& parText)
|
void DialogueHistory::addDialogHeading(const MyGUI::UString& parText)
|
||||||
{
|
{
|
||||||
UString head("\n#D8C09A");
|
MyGUI::UString head("\n#D8C09A");
|
||||||
head.append(parText);
|
head.append(parText);
|
||||||
head.append("#B29154\n");
|
head.append("#B29154\n");
|
||||||
addText(head);
|
addText(head);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogueHistory::addDialogText(const UString& parText)
|
void DialogueHistory::addDialogText(const MyGUI::UString& parText)
|
||||||
{
|
{
|
||||||
addText(parText);
|
addText(parText);
|
||||||
addText("\n");
|
addText("\n");
|
||||||
|
|
|
@ -4,16 +4,15 @@
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
using namespace MyGUI;
|
|
||||||
class DialogueHistory : public MyGUI::EditBox
|
class DialogueHistory : public MyGUI::EditBox
|
||||||
{
|
{
|
||||||
MYGUI_RTTI_DERIVED( DialogueHistory )
|
MYGUI_RTTI_DERIVED( DialogueHistory )
|
||||||
public:
|
public:
|
||||||
Widget* getClient() { return mClient; }
|
Widget* getClient() { return mClient; }
|
||||||
UString getColorAtPos(size_t _pos);
|
MyGUI::UString getColorAtPos(size_t _pos);
|
||||||
UString getColorTextAt(size_t _pos);
|
MyGUI::UString getColorTextAt(size_t _pos);
|
||||||
void addDialogHeading(const UString& parText);
|
void addDialogHeading(const MyGUI::UString& parText);
|
||||||
void addDialogText(const UString& parText);
|
void addDialogText(const MyGUI::UString& parText);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -328,12 +328,12 @@ namespace MWGui
|
||||||
|
|
||||||
std::string path = std::string("icons\\");
|
std::string path = std::string("icons\\");
|
||||||
path += MWWorld::Class::get(newObject).getInventoryIcon(newObject);
|
path += MWWorld::Class::get(newObject).getInventoryIcon(newObject);
|
||||||
MyGUI::ImageBox* baseWidget = mContainerWidget->createWidget<ImageBox>("ImageBox", MyGUI::IntCoord(0, 0, 42, 42), MyGUI::Align::Default);
|
MyGUI::ImageBox* baseWidget = mContainerWidget->createWidget<MyGUI::ImageBox>("ImageBox", MyGUI::IntCoord(0, 0, 42, 42), MyGUI::Align::Default);
|
||||||
baseWidget->detachFromWidget();
|
baseWidget->detachFromWidget();
|
||||||
baseWidget->attachToWidget(mDragAndDrop->mDragAndDropWidget);
|
baseWidget->attachToWidget(mDragAndDrop->mDragAndDropWidget);
|
||||||
baseWidget->setUserData(newObject);
|
baseWidget->setUserData(newObject);
|
||||||
mDragAndDrop->mDraggedWidget = baseWidget;
|
mDragAndDrop->mDraggedWidget = baseWidget;
|
||||||
ImageBox* image = baseWidget->createWidget<ImageBox>("ImageBox", MyGUI::IntCoord(5, 5, 32, 32), MyGUI::Align::Default);
|
MyGUI::ImageBox* image = baseWidget->createWidget<MyGUI::ImageBox>("ImageBox", MyGUI::IntCoord(5, 5, 32, 32), MyGUI::Align::Default);
|
||||||
int pos = path.rfind(".");
|
int pos = path.rfind(".");
|
||||||
path.erase(pos);
|
path.erase(pos);
|
||||||
path.append(".dds");
|
path.append(".dds");
|
||||||
|
|
|
@ -19,8 +19,6 @@ namespace MWGui
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
using namespace MyGUI;
|
|
||||||
|
|
||||||
class RaceDialog : public WindowBase
|
class RaceDialog : public WindowBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -46,7 +44,7 @@ namespace MWGui
|
||||||
virtual void open();
|
virtual void open();
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
|
|
||||||
/** Event : Back button clicked.\n
|
/** Event : Back button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
|
|
@ -30,7 +30,7 @@ ReviewDialog::ReviewDialog(MWBase::WindowManager& parWindowManager)
|
||||||
center();
|
center();
|
||||||
|
|
||||||
// Setup static stats
|
// Setup static stats
|
||||||
ButtonPtr button;
|
MyGUI::Button* button;
|
||||||
getWidget(mNameWidget, "NameText");
|
getWidget(mNameWidget, "NameText");
|
||||||
getWidget(button, "NameButton");
|
getWidget(button, "NameButton");
|
||||||
adjustButtonSize(button);
|
adjustButtonSize(button);
|
||||||
|
|
|
@ -17,8 +17,6 @@ Layout is defined by resources/mygui/openmw_chargen_review.layout.
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
using namespace MyGUI;
|
|
||||||
|
|
||||||
class ReviewDialog : public WindowBase
|
class ReviewDialog : public WindowBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -49,8 +47,8 @@ namespace MWGui
|
||||||
virtual void open();
|
virtual void open();
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate0 EventHandle_Void;
|
typedef MyGUI::delegates::CMultiDelegate0 EventHandle_Void;
|
||||||
typedef delegates::CMultiDelegate1<int> EventHandle_Int;
|
typedef MyGUI::delegates::CMultiDelegate1<int> EventHandle_Int;
|
||||||
|
|
||||||
/** Event : Back button clicked.\n
|
/** Event : Back button clicked.\n
|
||||||
signature : void method()\n
|
signature : void method()\n
|
||||||
|
|
|
@ -13,8 +13,6 @@ namespace MWGui
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
using namespace MyGUI;
|
|
||||||
|
|
||||||
class TextInputDialog : public WindowBase
|
class TextInputDialog : public WindowBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
#include "../mwmechanics/stat.hpp"
|
#include "../mwmechanics/stat.hpp"
|
||||||
|
|
||||||
#undef MYGUI_EXPORT
|
|
||||||
#define MYGUI_EXPORT
|
|
||||||
|
|
||||||
namespace MWBase
|
namespace MWBase
|
||||||
{
|
{
|
||||||
class WindowManager;
|
class WindowManager;
|
||||||
|
@ -21,9 +18,6 @@ namespace MWBase
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
/// \todo remove!
|
|
||||||
using namespace MyGUI;
|
|
||||||
|
|
||||||
namespace Widgets
|
namespace Widgets
|
||||||
{
|
{
|
||||||
class MWEffectList;
|
class MWEffectList;
|
||||||
|
@ -78,9 +72,9 @@ namespace MWGui
|
||||||
|
|
||||||
typedef std::vector<SpellEffectParams> SpellEffectList;
|
typedef std::vector<SpellEffectParams> SpellEffectList;
|
||||||
|
|
||||||
class MYGUI_EXPORT MWSkill : public MyGUI::Widget
|
class MWSkill : public MyGUI::Widget
|
||||||
{
|
{
|
||||||
MYGUI_RTTI_DERIVED( MWSkill );
|
MYGUI_RTTI_DERIVED( MWSkill )
|
||||||
public:
|
public:
|
||||||
MWSkill();
|
MWSkill();
|
||||||
|
|
||||||
|
@ -96,7 +90,7 @@ namespace MWGui
|
||||||
const SkillValue& getSkillValue() const { return mValue; }
|
const SkillValue& getSkillValue() const { return mValue; }
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate1<MWSkill*> EventHandle_SkillVoid;
|
typedef MyGUI::delegates::CMultiDelegate1<MWSkill*> EventHandle_SkillVoid;
|
||||||
|
|
||||||
/** Event : Skill clicked.\n
|
/** Event : Skill clicked.\n
|
||||||
signature : void method(MWSkill* _sender)\n
|
signature : void method(MWSkill* _sender)\n
|
||||||
|
@ -121,9 +115,9 @@ namespace MWGui
|
||||||
};
|
};
|
||||||
typedef MWSkill* MWSkillPtr;
|
typedef MWSkill* MWSkillPtr;
|
||||||
|
|
||||||
class MYGUI_EXPORT MWAttribute : public MyGUI::Widget
|
class MWAttribute : public MyGUI::Widget
|
||||||
{
|
{
|
||||||
MYGUI_RTTI_DERIVED( MWAttribute );
|
MYGUI_RTTI_DERIVED( MWAttribute )
|
||||||
public:
|
public:
|
||||||
MWAttribute();
|
MWAttribute();
|
||||||
|
|
||||||
|
@ -138,7 +132,7 @@ namespace MWGui
|
||||||
const AttributeValue& getAttributeValue() const { return mValue; }
|
const AttributeValue& getAttributeValue() const { return mValue; }
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
typedef delegates::CMultiDelegate1<MWAttribute*> EventHandle_AttributeVoid;
|
typedef MyGUI::delegates::CMultiDelegate1<MWAttribute*> EventHandle_AttributeVoid;
|
||||||
|
|
||||||
/** Event : Attribute clicked.\n
|
/** Event : Attribute clicked.\n
|
||||||
signature : void method(MWAttribute* _sender)\n
|
signature : void method(MWAttribute* _sender)\n
|
||||||
|
@ -167,9 +161,9 @@ namespace MWGui
|
||||||
* @todo remove this class and use MWEffectList instead
|
* @todo remove this class and use MWEffectList instead
|
||||||
*/
|
*/
|
||||||
class MWSpellEffect;
|
class MWSpellEffect;
|
||||||
class MYGUI_EXPORT MWSpell : public MyGUI::Widget
|
class MWSpell : public MyGUI::Widget
|
||||||
{
|
{
|
||||||
MYGUI_RTTI_DERIVED( MWSpell );
|
MYGUI_RTTI_DERIVED( MWSpell )
|
||||||
public:
|
public:
|
||||||
MWSpell();
|
MWSpell();
|
||||||
|
|
||||||
|
@ -203,9 +197,9 @@ namespace MWGui
|
||||||
};
|
};
|
||||||
typedef MWSpell* MWSpellPtr;
|
typedef MWSpell* MWSpellPtr;
|
||||||
|
|
||||||
class MYGUI_EXPORT MWEffectList : public MyGUI::Widget
|
class MWEffectList : public MyGUI::Widget
|
||||||
{
|
{
|
||||||
MYGUI_RTTI_DERIVED( MWEffectList );
|
MYGUI_RTTI_DERIVED( MWEffectList )
|
||||||
public:
|
public:
|
||||||
MWEffectList();
|
MWEffectList();
|
||||||
|
|
||||||
|
@ -244,9 +238,9 @@ namespace MWGui
|
||||||
};
|
};
|
||||||
typedef MWEffectList* MWEffectListPtr;
|
typedef MWEffectList* MWEffectListPtr;
|
||||||
|
|
||||||
class MYGUI_EXPORT MWSpellEffect : public MyGUI::Widget
|
class MWSpellEffect : public MyGUI::Widget
|
||||||
{
|
{
|
||||||
MYGUI_RTTI_DERIVED( MWSpellEffect );
|
MYGUI_RTTI_DERIVED( MWSpellEffect )
|
||||||
public:
|
public:
|
||||||
MWSpellEffect();
|
MWSpellEffect();
|
||||||
|
|
||||||
|
@ -280,9 +274,9 @@ namespace MWGui
|
||||||
};
|
};
|
||||||
typedef MWSpellEffect* MWSpellEffectPtr;
|
typedef MWSpellEffect* MWSpellEffectPtr;
|
||||||
|
|
||||||
class MYGUI_EXPORT MWDynamicStat : public MyGUI::Widget
|
class MWDynamicStat : public MyGUI::Widget
|
||||||
{
|
{
|
||||||
MYGUI_RTTI_DERIVED( MWDynamicStat );
|
MYGUI_RTTI_DERIVED( MWDynamicStat )
|
||||||
public:
|
public:
|
||||||
MWDynamicStat();
|
MWDynamicStat();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue