mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 02:09:41 +00:00
fix class name typo
This commit is contained in:
parent
161d519206
commit
26aae9d2ce
5 changed files with 10 additions and 10 deletions
|
@ -21,7 +21,7 @@ namespace MWWorld
|
|||
|
||||
namespace MWGui
|
||||
{
|
||||
class DialogeHistory;
|
||||
class DialogueHistory;
|
||||
|
||||
using namespace MyGUI;
|
||||
|
||||
|
@ -60,7 +60,7 @@ namespace MWGui
|
|||
*/
|
||||
std::string parseText(std::string text);
|
||||
|
||||
DialogeHistory* history;
|
||||
DialogueHistory* history;
|
||||
MyGUI::ListPtr topicsList;
|
||||
MyGUI::ProgressPtr pDispositionBar;
|
||||
MyGUI::EditPtr pDispositionText;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
using namespace MWGui;
|
||||
using namespace Widgets;
|
||||
|
||||
UString DialogeHistory::getColorAtPos(size_t _pos)
|
||||
UString DialogueHistory::getColorAtPos(size_t _pos)
|
||||
{
|
||||
UString colour = TextIterator::convertTagColour(getTextColour());
|
||||
TextIterator iterator(getCaption());
|
||||
|
@ -29,7 +29,7 @@ UString DialogeHistory::getColorAtPos(size_t _pos)
|
|||
return colour;
|
||||
}
|
||||
|
||||
UString DialogeHistory::getColorTextAt(size_t _pos)
|
||||
UString DialogueHistory::getColorTextAt(size_t _pos)
|
||||
{
|
||||
bool breakOnNext = false;
|
||||
UString colour = TextIterator::convertTagColour(getTextColour());
|
||||
|
@ -59,7 +59,7 @@ UString DialogeHistory::getColorTextAt(size_t _pos)
|
|||
return "";
|
||||
}
|
||||
|
||||
void DialogeHistory::addDialogHeading(const UString& parText)
|
||||
void DialogueHistory::addDialogHeading(const UString& parText)
|
||||
{
|
||||
UString head("\n#D8C09A");
|
||||
head.append(parText);
|
||||
|
@ -67,7 +67,7 @@ void DialogeHistory::addDialogHeading(const UString& parText)
|
|||
addText(head);
|
||||
}
|
||||
|
||||
void DialogeHistory::addDialogText(const UString& parText)
|
||||
void DialogueHistory::addDialogText(const UString& parText)
|
||||
{
|
||||
addText(parText);
|
||||
addText("\n");
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
namespace MWGui
|
||||
{
|
||||
using namespace MyGUI;
|
||||
class DialogeHistory : public MyGUI::EditBox
|
||||
class DialogueHistory : public MyGUI::EditBox
|
||||
{
|
||||
MYGUI_RTTI_DERIVED( DialogeHistory )
|
||||
MYGUI_RTTI_DERIVED( DialogueHistory )
|
||||
public:
|
||||
Widget* getClient() { return mClient; }
|
||||
UString getColorAtPos(size_t _pos);
|
||||
|
|
|
@ -37,7 +37,7 @@ WindowManager::WindowManager(MWWorld::Environment& environment,
|
|||
gui = mGuiManager->getGui();
|
||||
|
||||
//Register own widgets with MyGUI
|
||||
MyGUI::FactoryManager::getInstance().registerFactory<DialogeHistory>("Widget");
|
||||
MyGUI::FactoryManager::getInstance().registerFactory<DialogueHistory>("Widget");
|
||||
|
||||
// Get size info from the Gui object
|
||||
assert(gui);
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</Widget>
|
||||
|
||||
<!-- The Dialogue history -->
|
||||
<Widget type="DialogeHistory" skin="MW_TextBoxEdit" position="8 39 400 375" name="History" align="ALIGN_LEFT ALIGN_TOP STRETCH">
|
||||
<Widget type="DialogueHistory" skin="MW_TextBoxEdit" position="8 39 400 375" name="History" align="ALIGN_LEFT ALIGN_TOP STRETCH">
|
||||
<Property key="Edit_Static" value="true"/>
|
||||
<Property key="Edit_WordWrap" value="true"/>
|
||||
<Property key="Text_FontHeight" value="18"/>
|
||||
|
|
Loading…
Reference in a new issue