diff options
Diffstat (limited to 'src/viewport_type.h')
-rw-r--r-- | src/viewport_type.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h index 57ff96993..0eb9d78e8 100644 --- a/src/viewport_type.h +++ b/src/viewport_type.h @@ -32,10 +32,18 @@ struct ViewPort { ZoomLevel zoom; }; +/** Margings for the viewport sign */ +enum ViewportSignMargin { + VPSM_LEFT = 1, ///< Left margin + VPSM_RIGHT = 1, ///< Right margin + VPSM_TOP = 1, ///< Top margin + VPSM_BOTTOM = 1, ///< Bottom margin +}; + /** Location information about a sign as seen on the viewport */ struct ViewportSign { - int32 left; ///< The left most position of the sign - int32 top; ///< THe top of the sign + int32 center; ///< The center 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) |