(svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
skidd13 16 years ago
parent 617e1f16c0
commit 6b8a758339

@ -151,7 +151,7 @@ public:
{
this->DrawWidgets();
this->DrawSortButtonState(BBSW_DROPDOWN_ORDER, (this->bridges->flags & VL_DESC) ? SBS_DOWN : SBS_UP);
this->DrawSortButtonState(BBSW_DROPDOWN_ORDER, this->bridges->IsDescSortOrder() ? SBS_DOWN : SBS_UP);
uint y = this->widget[BBSW_BRIDGE_LIST].top + 2;

@ -545,7 +545,7 @@ public:
SetVScrollCount(this, this->towns.Length());
this->DrawWidgets();
this->DrawSortButtonState(this->towns.sort_type == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP);
this->DrawSortButtonState(this->towns.SortType() == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP);
{
int n = 0;

Loading…
Cancel
Save