(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
This commit is contained in:
@@ -445,7 +445,7 @@ public:
|
||||
this->DrawWidgets();
|
||||
|
||||
assert((uint)this->dtype < lengthof(chat_captions));
|
||||
DrawStringRightAligned(this->widget[NWCW_TEXTBOX].left - 2, this->widget[NWCW_TEXTBOX].top + 1, chat_captions[this->dtype], TC_BLACK);
|
||||
DrawString(this->widget[NWCW_BACKGROUND].left, this->widget[NWCW_TEXTBOX].left - 2, this->widget[NWCW_TEXTBOX].top + 1, chat_captions[this->dtype], TC_BLACK, SA_RIGHT);
|
||||
this->DrawEditBox(NWCW_TEXTBOX);
|
||||
}
|
||||
|
||||
|
@@ -392,7 +392,7 @@ public:
|
||||
|
||||
/* Edit box to filter for keywords */
|
||||
this->DrawEditBox(NCLWW_FILTER);
|
||||
DrawStringRightAligned(this->widget[NCLWW_FILTER].left - 8, this->widget[NCLWW_FILTER].top + 2, STR_CONTENT_FILTER_TITLE, TC_FROMSTRING);
|
||||
DrawString(this->widget[NCLWW_MATRIX].left, this->widget[NCLWW_FILTER].left - 8, this->widget[NCLWW_FILTER].top + 2, STR_CONTENT_FILTER_TITLE, TC_FROMSTRING, SA_RIGHT);
|
||||
|
||||
switch (this->content.SortType()) {
|
||||
case NCLWW_CHECKBOX - NCLWW_CHECKBOX: this->DrawSortButtonState(NCLWW_CHECKBOX, arrow); break;
|
||||
|
Reference in New Issue
Block a user