-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
class settings | ||
{ | ||
class commandbar | ||
{ | ||
categoryName = "Command Bar"; | ||
class enabled | ||
{ | ||
title = "Show vanilla commandBar"; | ||
tooltip = "You may need to restart your game to apply this setting."; | ||
type = "CHECKBOX"; | ||
valueInfo = "false"; | ||
script = "{profileNamespace setVariable ['grad_minui_commandbar_enabled', _this];}"; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class CfgPatches | ||
{ | ||
class grad_minui_commandbar | ||
{ | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = 0.1; | ||
requiredAddons[] = {"grad_minui_main"}; | ||
version = "0.1"; | ||
authors[] = {"DerZade", "Fusselwurm"}; | ||
}; | ||
}; | ||
|
||
class grad_minui_cba | ||
{ | ||
#include "cbaSettings.hpp" | ||
} | ||
|
||
#include "ui.hpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class CfgInGameUI | ||
{ | ||
class CommandBar { | ||
left = "(profilenamespace getvariable [""IGUI_GRID_BAR_X"", (safezoneX + 1 * (((safezoneW / safezoneH) min 1.2) / 40))]) + 2 * safezoneW * (parseNumber !(profileNamespace getVariable ['grad_minui_commandbar_enabled',false]))"; | ||
}; | ||
}; |