Removed Vignette, Cleaned up UI

This commit is contained in:
jonpas 2015-09-05 21:57:22 +02:00
parent 7b88280988
commit ce1c735d89
6 changed files with 26 additions and 21 deletions

View File

@ -1 +1 @@
z\ace\Addons\ui z\ace\addons\ui

View File

@ -1,9 +1,10 @@
ace_ui ace_ui
======= =======
Changes the chat contrast on the map to allow easier reading Removes vignette and changes the chat contrast on the map to allow easier reading.
## Maintainers ## Maintainers
The people responsible for merging changes to this component or answering potential questions. The people responsible for merging changes to this component or answering potential questions.
- [Jonpas] (https://github.com/jonpas)

15
addons/ui/RscChat.hpp Normal file
View File

@ -0,0 +1,15 @@
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,4 @@
class RscPicture;
class RscVignette: RscPicture {
text = ""; // Remove Vignette Texture
};

View File

@ -6,25 +6,11 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"VKing"}; author[] = {"VKing", "Jonpas"};
authorUrl = "https://github.com/ACEMod/"; authorUrl = "https://github.com/acemod/ACE3";
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };
class RscText; #include "RscChat.hpp"
#include "RscVignette.hpp"
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

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