From 3fb1506d6d71fcc124779f7f4a7ede68d9970636 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 8 Jul 2009 08:50:20 +0000 Subject: (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names --- src/viewport_type.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/viewport_type.h') diff --git a/src/viewport_type.h b/src/viewport_type.h index 39235ed19..dd7cd8a7f 100644 --- a/src/viewport_type.h +++ b/src/viewport_type.h @@ -25,10 +25,12 @@ struct ViewPort { ZoomLevel zoom; }; +/** Location information about a sign as seen on the viewport */ struct ViewportSign { - int32 left; - int32 top; - uint16 width_1, width_2; + int32 left; ///< The left most position of the sign + int32 top; ///< THe top of the sign + uint16 width_normal; ///< The width when not zoomed out (normal font) + uint16 width_small; ///< The width when zoomed out (small font) void UpdatePosition(int center, int top, StringID str); void MarkDirty() const; -- cgit v1.2.3-54-g00ecf