12 #ifndef VIEWPORT_TYPE_H 13 #define VIEWPORT_TYPE_H 17 #include "table/strings.h" 54 void UpdatePosition(
int center,
int top,
StringID str,
StringID str_small = STR_NULL);
ViewportDragDropSelectionProcess
Drag and drop selection process, or, what to do with an area of land when you've selected it...
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) enum CompanyManagerFaceVariable
Bitgroups of the CompanyManagerFace variable.
int virtual_left
Virtual left coordinate.
area of land of limited size
Road stop placement (trucks)
Zoom out (get helicopter view).
int height
Screen height of the viewport.
Road stop removal (trucks)
static const uint BB_Z_SEPARATOR
Separates the bridge/tunnel from the things under/above it.
Drag only in X axis with limited size.
similar to VMP_RAILDIRS, but with different cursor
Drag only in Y axis with limited size.
int virtual_height
height << zoom
Zoom in (get more detailed view).
Road stop removal (buses)
Types related to zooming in and out.
int32 top
The top of the sign.
ViewportPlaceMethod
Viewport place method (type of highlighted area and placed objects)
Location information about a sign as seen on the viewport.
static const uint BB_HEIGHT_UNDER_BRIDGE
Some values for constructing bounding boxes (BB).
Road stop placement (buses)
uint16 width_normal
The width when not zoomed out (normal font)
int virtual_width
width << zoom
uint32 StringID
Numeric value that represents a string, independent of the selected language.
drag only in horizontal direction
int32 center
The center position of the sign.
int left
Screen coordinate left egde of the viewport.
ZoomLevel
All zoom levels we know.
area of land in X and Y directions
Data structure for viewport, display of a part of the world.
ViewportSignMargin
Margins for the viewport sign.
Types related to strings.
drag only in vertical direction
ZoomLevel zoom
The zoom level of the viewport.
ZoomStateChange
Directions of zooming.
int virtual_top
Virtual top coordinate.
uint16 width_small
The width when zoomed out (small font)
int top
Screen coordinate top edge of the viewport.
Hack, used to update the button status.
Handles drawing of links into some window.
int width
Screen width of the viewport.