Skip to content

Commit 3e1201e

Browse files
committed
HorizontalTextFormatting enum updated
1 parent 94be0df commit 3e1201e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/cegui/CEGUIManager.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,20 +1114,20 @@ const QtnEnumInfo& CEGUIManager::enumVerticalFormatting()
11141114
return *_enumVerticalFormatting;
11151115
}
11161116

1117-
//???TODO: make special property of alignment + word wrap flag?
11181117
const QtnEnumInfo& CEGUIManager::enumHorizontalTextFormatting()
11191118
{
11201119
if (!_enumHorizontalTextFormatting)
11211120
{
11221121
QVector<QtnEnumValueInfo> values;
1123-
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::Justified), "Justified"});
11241122
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::LeftAligned), "LeftAligned", "Left"});
11251123
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::RightAligned), "RightAligned", "Right"});
11261124
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::CentreAligned), "CentreAligned", "Center"});
1127-
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapJustified), "WordWraperJustified", "Justified"});
1128-
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapLeftAligned), "WordWrapLeftAligned", "Left word-wrapped"});
1129-
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapRightAligned), "WordWrapRightAligned", "Right word-wrapped"});
1130-
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapCentreAligned), "WordWrapCentreAligned", "Center word-wrapped"});
1125+
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::Justified), "Justified"});
1126+
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::Bidi), "Bidi"});
1127+
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapLeftAligned), "WordWrapLeftAligned", "(deprecated) Left word-wrapped"});
1128+
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapRightAligned), "WordWrapRightAligned", "(deprecated) Right word-wrapped"});
1129+
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapCentreAligned), "WordWrapCentreAligned", "(deprecated) Center word-wrapped"});
1130+
values.push_back({static_cast<QtnEnumValueType>(CEGUI::HorizontalTextFormatting::WordWrapJustified), "WordWrapJustified", "(deprecated) Justified word-wrapped"});
11311131
_enumHorizontalTextFormatting = new QtnEnumInfo("HorizontalTextFormatting", values);
11321132
}
11331133
return *_enumHorizontalTextFormatting;

0 commit comments

Comments
 (0)