Used slider arrows for GUI1 menu sort indicators
This commit is contained in:
parent
d11edb6ec7
commit
2b6bf56e63
1 changed files with 2 additions and 2 deletions
|
@ -972,8 +972,8 @@ void menu::draw_row(const size_t row_index, const SDL_Rect& rect, ROW_TYPE type)
|
|||
font::draw_text(&video(),column,style_->get_font_size(),font::NORMAL_COLOR,to_show,xpos,y);
|
||||
|
||||
if(type == HEADING_ROW && sortby_ == int(i)) {
|
||||
const surface sort_img = image::get_image(sortreversed_ ? "misc/sort-arrow.png" :
|
||||
"misc/sort-arrow-reverse.png");
|
||||
const surface sort_img = image::get_image(sortreversed_ ? "buttons/sliders/slider_arrow_blue.png" :
|
||||
"buttons/sliders/slider_arrow_blue.png~ROTATE(180)");
|
||||
if(sort_img != NULL && sort_img->w <= widths[i] && sort_img->h <= rect.h) {
|
||||
const size_t sort_x = xpos + widths[i] - sort_img->w;
|
||||
const size_t sort_y = rect.y + rect.h/2 - sort_img->h/2;
|
||||
|
|
Loading…
Add table
Reference in a new issue