Remove some vestigial documentation from tinygui.

There is also a remnant in preferences_display.cpp, where
two resolution options below 800x480 are in a hardcoded
list (scr_modes), but I do not know if there might be a
reason to keep those.
This commit is contained in:
J. Tyne 2012-11-15 22:43:42 +00:00
parent 2d6c474562
commit f9f5110445
2 changed files with 2 additions and 4 deletions

View file

@ -1345,8 +1345,7 @@ void display::draw_text_in_hex(const map_location& loc,
{
if (text.empty()) return;
const size_t font_sz = static_cast<size_t>(font_size * get_zoom_factor()
);
const size_t font_sz = static_cast<size_t>(font_size * get_zoom_factor());
surface text_surf = font::get_rendered_text(text, font_sz, color);
surface back_surf = font::get_rendered_text(text, font_sz, font::BLACK_COLOR);

View file

@ -827,8 +827,7 @@ public:
/**
* Draw text on a hex. (0.5, 0.5) is the center.
* The font size is adjusted to the zoom factor
* and divided by 2 for tiny-gui.
* The font size is adjusted to the zoom factor.
*/
void draw_text_in_hex(const map_location& loc,
const tdrawing_layer layer, const std::string& text, size_t font_size,