diff --git a/addons/main/config.cpp b/addons/main/config.cpp index b9a7060..72d9de9 100644 --- a/addons/main/config.cpp +++ b/addons/main/config.cpp @@ -24,3 +24,4 @@ class Extended_PostInit_EventHandlers { #include "CfgFunctions.hpp" #include "CfgVehicles.hpp" #include "Cfg3den.hpp" +#include "dialog.hpp" \ No newline at end of file diff --git a/addons/main/dialog.hpp b/addons/main/dialog.hpp new file mode 100644 index 0000000..d490887 --- /dev/null +++ b/addons/main/dialog.hpp @@ -0,0 +1,108 @@ +class RscObject; +class RscText; +class RscFrame; +class RscLine; +class RscProgress; +class RscPicture; +class RscPictureKeepAspect; +class RscVideo; +class RscHTML; +class RscButton; +class RscShortcutButton; +class RscEdit; +class RscCombo; +class RscListBox; +class RscListNBox; +class RscXListBox; +class RscTree; +class RscSlider; +class RscXSliderH; +class RscActiveText; +class RscActivePicture; +class RscActivePictureKeepAspect; +class RscStructuredText; +class RscToolbox; +class RscControlsGroup; +class RscControlsGroupNoScrollbars; +class RscControlsGroupNoHScrollbars; +class RscControlsGroupNoVScrollbars; +class RscButtonTextOnly; +class RscButtonMenu; +class RscButtonMenuOK; +class RscButtonMenuCancel; +class RscButtonMenuSteam; +class RscMapControl; +class RscMapControlEmpty; +class RscCheckBox; + +class armatak_zeus_core_module_dialog { + idd = 999991; + movingEnable = 0; + class controls { + class armatak_gui_module_zeus_core_dialog_main_frame: RscPicture + { + idc = 1200; + text = "#(argb,8,8,3)color(1,1,1,1)"; + x = "0.386562 * safezoneW + safezoneX"; + y = "0.346 * safezoneH + safezoneY"; + w = "0.237187 * safezoneW"; + h = "0.275 * safezoneH"; + colorBackground[] = {1,1,1,0.5}; + }; + class armatak_gui_module_zeus_core_dialog_address_text: RscText + { + idc = 1000; + text = "TAK Server Address"; + x = "0.402031 * safezoneW + safezoneX"; + y = "0.368 * safezoneH + safezoneY"; + w = "0.216563 * safezoneW"; + h = "0.044 * safezoneH"; + }; + class armatak_gui_module_zeus_core_dialog_address_edit: RscEdit + { + idc = 1400; + text = "localhost"; + x = "0.396875 * safezoneW + safezoneX"; + y = "0.401 * safezoneH + safezoneY"; + w = "0.216563 * safezoneW"; + h = "0.044 * safezoneH"; + tooltip = "Address without protocol prefix of the TAK Server (localhost, 192.168.1.1, etcetera...)"; + }; + class armatak_gui_module_zeus_core_dialog_address_port_text: RscText + { + idc = 1001; + text = "TAK Server Port"; + x = "0.391719 * safezoneW + safezoneX"; + y = "0.445 * safezoneH + safezoneY"; + w = "0.221719 * safezoneW"; + h = "0.044 * safezoneH"; + }; + class armatak_gui_module_zeus_core_dialog_address_port_edit: RscEdit + { + idc = 1401; + text = "8088"; + x = "0.396875 * safezoneW + safezoneX"; + y = "0.489 * safezoneH + safezoneY"; + w = "0.216563 * safezoneW"; + h = "0.044 * safezoneH"; + }; + class armatak_gui_module_zeus_core_dialog_address_button_ok: RscButton + { + idc = 1600; + text = "OK"; + x = "0.5 * safezoneW + safezoneX"; + y = "0.555 * safezoneH + safezoneY"; + w = "0.0515625 * safezoneW"; + h = "0.044 * safezoneH"; + }; + class armatak_gui_module_zeus_core_dialog_address_button_cancel: RscButton + { + idc = 1601; + text = "Cancel"; + x = "0.561875 * safezoneW + safezoneX"; + y = "0.555 * safezoneH + safezoneY"; + w = "0.0515625 * safezoneW"; + h = "0.044 * safezoneH"; + }; + }; +};