diff --git a/addons/markers/stringtable.xml b/addons/markers/stringtable.xml index dc4192a..b406595 100644 --- a/addons/markers/stringtable.xml +++ b/addons/markers/stringtable.xml @@ -164,6 +164,10 @@ Direction of Movement: Bewegungsrichtung: + + Help + Hilfe + diff --git a/addons/markers/ui/mts_markers_dialog.hpp b/addons/markers/ui/mts_markers_dialog.hpp index b9e88ba..20861a4 100644 --- a/addons/markers/ui/mts_markers_dialog.hpp +++ b/addons/markers/ui/mts_markers_dialog.hpp @@ -9,6 +9,7 @@ class RscEdit; class RscListBox; class RscButtonSearch; class RscControlsGroupNoScrollbars; +class RscStructuredText; class RscTitle; class RscFrame; class RscXSliderH; @@ -651,10 +652,27 @@ class GVAR(Dialog) { idc = HEAD_TXT; x = QPOS_X(0); y = QPOS_Y(0); - w = QPOS_W(HEADER_W); + w = QPOS_W(HEADER_W / 2); h = QPOS_H(HEADER_H); text = CSTRING(ui_general_headTXT); }; + class Help: RscStructuredText { + idc = HEAD_HELP_TXT; + x = QPOS_X(HEADER_W / 2); + y = QPOS_Y(0); + w = QPOS_W(HEADER_W / 2); + h = QPOS_H(HEADER_H); + text = CSTRING(ui_general_helpTXT); + class Attributes + { + font = "RobotoCondensed"; + color = "#ffffff"; + colorLink = "#ffffff"; + align = "right"; + shadow = 1; + href = "https://github.com/Metis-Team/mts_marker/wiki/User-Manuel"; + }; + }; class Preview: GVAR(RscPreview) { idc = PREVIEW_GROUP; diff --git a/addons/markers/ui/mts_markers_ui_macros.hpp b/addons/markers/ui/mts_markers_ui_macros.hpp index 0ab1cb9..6a8d953 100644 --- a/addons/markers/ui/mts_markers_ui_macros.hpp +++ b/addons/markers/ui/mts_markers_ui_macros.hpp @@ -72,6 +72,7 @@ // Text #define HEAD_TXT 200 +#define HEAD_HELP_TXT 201 #define IDENTITY_TXT 202 #define ICON_TXT 203 #define SUSPECT_TXT 204