Added ace_ui - enchanced chat visibility on the map screen

This commit is contained in:
VKing 2015-05-16 15:28:59 +02:00
parent 013a1dea29
commit 5f328ce616
5 changed files with 54 additions and 0 deletions

1
addons/ui/$PBOPREFIX$ Normal file
View File

@ -0,0 +1 @@
z\ace\Addons\ui

9
addons/ui/README.md Normal file
View File

@ -0,0 +1,9 @@
ace_ui
=======
Changes the chat contrast on the map to allow easier reading
## Maintainers
The people responsible for merging changes to this component or answering potential questions.

30
addons/ui/config.cpp Normal file
View File

@ -0,0 +1,30 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author[] = {"VKing"};
authorUrl = "https://github.com/ACEMod/";
VERSION_CONFIG;
};
};
class RscText;
class RscDisplayChat {
class controls {
delete Line;
delete Background;
class CA_Background: RscText {
colorBackground[] = {0.5,0.5,0.5,0.33}; // Make the chat entry field slightly darker
};
};
};
class RscChatListDefault {
colorBackground[] = {0,0,0,0.5}; // Make the chat background darker
colorMessageProtocol[] = {0.85,0.85,0.85,1}; // And the chat text brighter
};

View File

@ -0,0 +1 @@
#include "\z\ace\addons\ui\script_component.hpp"

View File

@ -0,0 +1,13 @@
#define COMPONENT ui
#include "\z\ace\Addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_UI
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_UI
#define DEBUG_SETTINGS DEBUG_SETTINGS_UI
#endif
#include "\z\ace\Addons\main\script_macros.hpp"