Merge pull request #2368 from jonpas/removeVignetteAndCleanUI

Removed Vignette and Cleaned up UI component
This commit is contained in:
Glowbal 2015-09-28 15:56:34 +02:00
commit 7215dd9082
7 changed files with 26 additions and 23 deletions

View File

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

View File

@ -1,7 +1,7 @@
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

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[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author[] = {"VKing"};
author[] = {"VKing", "Jonpas"};
authorUrl = "http://ace3mod.com/";
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
};
#include "RscChat.hpp"
#include "RscVignette.hpp"

View File

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

View File

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