Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MapConstants.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
3{
4 const int CANVAS_COMMAND_VERTICES_LIMIT = 400; // hardcoded in ENF, should be increased on req
5 const float MAX_PIX_PER_METER = 20; // maximal possible zoom in the form of max allowed PixelPerUnit value
6
7 const string MAP_FRAME_NAME = "MapFrame"; // name of the map.layout frame within mapmenu layout
8 const string MAP_WIDGET_NAME = "MapWidget"; // name of the MapWidget within map layout
9 const string DRAWING_WIDGET_NAME = "DrawingWidget"; // name of the CanvasWidget for drawing within map layout
10 const string DRAWING_CONTAINER_WIDGET_NAME = "DrawingContainer"; //name of FrameWidget for creating drawn lines on map
11 const string CFG_LAYERS_DEFAULT = "{3CAC09C3E89190F7}Configs/Map/MapLayersDefault.conf";
12 const string CFG_PROPS_DEFAULT = "{AF65563F653FED68}Configs/Map/MapPropsDefault.conf";
13 const string CFG_DESCTYPES_DEFAULT = "{FF6B20825D4A566C}Configs/Map/MapDescriptorDefaults.conf";
14 const string CFG_DESCVIEW_DEFAULT = "{4FFDB559B60FC7BC}Configs/Map/MapDescriptorVisibilityDefault.conf";
15};
16
17//------------------------------------------------------------------------------------------------
20{
21 DRAG = 0, // drag from center pan
22 HORIZONTAL = 1, // horizontal pan
23 VERTICAL = 2, // vertical pan
24};
25
26//------------------------------------------------------------------------------------------------
40
41//------------------------------------------------------------------------------------------------
44{
47 CS_MOVE = 1<<1,
48 CS_PAN = 1<<2,
49 CS_ZOOM = 1<<3,
50 CS_HOVER = 1<<4,
51 CS_SELECT = 1<<5,
53 CS_DRAG = 1<<7,
54 CS_DRAW = 1<<8,
56 CS_MODIFIER = 1<<10,
57 CS_ROTATE = 1<<11,
58 CS_ASSIGN_WP = 1<<12,
59 CS_SUB_MENU = 1<<13,
60 CS_DIALOG = 1<<14,
63 CS_LAST = 1<<17
64};
65
66//------------------------------------------------------------------------------------------------
69{
70 LEFT = 1,
71 RIGHT = 2,
72 TOP = 4,
74};
75
76//------------------------------------------------------------------------------------------------
83
84//------------------------------------------------------------------------------------------------
@ EDITOR
@ RECTANGLE
Rectangle shape that has a width and length.
EMapPanMode
Panning modes.
EMapCursorState
Map cursor state.
@ CS_COMMAND_NEGATIVE
@ CS_CONTEXTUAL_MENU
@ CS_DISABLE
@ CS_DRAG
@ CS_COMMAND_POSITIVE
@ CS_PAN
@ CS_MOVE
@ CS_SELECT
@ CS_ZOOM
@ CS_MULTI_SELECTION
@ CS_DRAW
@ CS_ROTATE
@ CS_DIALOG
@ CS_DEFAULT
@ CS_LAST
@ CS_ASSIGN_WP
@ CS_SUB_MENU
@ CS_HOVER
@ CS_MODIFIER
EMapCursorEdgePos
Flags for when cursor is placed on screen edges.
EMapEntityMode
Mode of the map.
@ LOGISTICS_STATION
@ SPAWNSCREEN
@ MINIMAP
@ OPERATIONS_STATION
@ FULLSCREEN
@ TUTORIALFASTTRAVEL
@ PLAIN
@ COMBAT_SUPPORT_STATION
EMapCursorSelectType
Map cursor multiselection type.
@ CIRCLE
EMapOtherComponents
Map components which are not part of the component system.
@ LEGEND_SCALE
@ GRID
@ NONE
When Shape is created and not initialized yet.
Definition ShapeType.c:15
@ LEFT
navigation
@ RIGHT
@ DRAG
probably needed only for consoles
Definition ControlID.c:26
class WidgetType BOTTOM
class WidgetType TOP