mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #2368 from jonpas/removeVignetteAndCleanUI
Removed Vignette and Cleaned up UI component
This commit is contained in:
commit
7215dd9082
@ -1 +1 @@
|
||||
z\ace\Addons\ui
|
||||
z\ace\addons\ui
|
@ -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
15
addons/ui/RscChat.hpp
Normal 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
|
||||
};
|
4
addons/ui/RscVignette.hpp
Normal file
4
addons/ui/RscVignette.hpp
Normal file
@ -0,0 +1,4 @@
|
||||
class RscPicture;
|
||||
class RscVignette: RscPicture {
|
||||
text = ""; // Remove Vignette Texture
|
||||
};
|
@ -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"
|
||||
|
@ -1 +0,0 @@
|
||||
#include "\z\ace\addons\ui\script_component.hpp"
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user