|
|
|
@ -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");
|
|
|
|
|