Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with GUI::ThemeEngine::TextAlignVertical
svn-id: r35023
This commit is contained in:
parent
144be21bed
commit
c0f82d3518
22 changed files with 64 additions and 114 deletions
|
@ -177,15 +177,15 @@ bool ThemeParser::parserCallback_bitmap(ParserNode *node) {
|
|||
}
|
||||
|
||||
bool ThemeParser::parserCallback_text(ParserNode *node) {
|
||||
GUI::ThemeEngine::TextAlign alignH;
|
||||
Graphics::TextAlign alignH;
|
||||
GUI::ThemeEngine::TextAlignVertical alignV;
|
||||
|
||||
if (node->values["horizontal_align"] == "left")
|
||||
alignH = GUI::ThemeEngine::kTextAlignLeft;
|
||||
alignH = Graphics::kTextAlignLeft;
|
||||
else if (node->values["horizontal_align"] == "right")
|
||||
alignH = GUI::ThemeEngine::kTextAlignRight;
|
||||
alignH = Graphics::kTextAlignRight;
|
||||
else if (node->values["horizontal_align"] == "center")
|
||||
alignH = GUI::ThemeEngine::kTextAlignCenter;
|
||||
alignH = Graphics::kTextAlignCenter;
|
||||
else return parserError("Invalid value for text alignment.");
|
||||
|
||||
if (node->values["vertical_align"] == "top")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue