mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 15:46:49 +00:00
location_palette_item: Fix signed to unsigned conversion compiler warning
This commit is contained in:
parent
5e930ea5fb
commit
e93ae16cfd
@ -53,7 +53,7 @@ public:
|
|||||||
sdl::draw_solid_tinted_rectangle(location().x, location().y, location().w, location().h, 200, 200, 200, 0.1, video().getSurface());
|
sdl::draw_solid_tinted_rectangle(location().x, location().y, location().w, location().h, 200, 200, 200, 0.1, video().getSurface());
|
||||||
}
|
}
|
||||||
if (state_.selected) {
|
if (state_.selected) {
|
||||||
sdl::draw_rectangle(location().x, location().y, location().w, location().h, -1, video().getSurface());
|
sdl::draw_rectangle(location().x, location().y, location().w, location().h, 0xFFFFFFFU, video().getSurface());
|
||||||
}
|
}
|
||||||
font::draw_text(&video(), location(), 16, font::NORMAL_COLOR, desc_.empty() ? id_ : desc_, location().x + 2, location().y, 0);
|
font::draw_text(&video(), location(), 16, font::NORMAL_COLOR, desc_.empty() ? id_ : desc_, location().x + 2, location().y, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user