Skip to content

Commit

Permalink
Merge pull request #2368 from jonpas/removeVignetteAndCleanUI
Browse files Browse the repository at this point in the history
Removed Vignette and Cleaned up UI component
  • Loading branch information
thojkooi committed Sep 28, 2015
2 parents 74805ca + a42685a commit 7215dd9
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 23 deletions.
2 changes: 1 addition & 1 deletion addons/ui/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -1 +1 @@
z\ace\Addons\ui
z\ace\addons\ui
2 changes: 1 addition & 1 deletion addons/ui/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 15 additions & 0 deletions addons/ui/RscChat.hpp
Original file line number Diff line number Diff line change
@@ -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 changes: 4 additions & 0 deletions addons/ui/RscVignette.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class RscPicture;
class RscVignette: RscPicture {
text = ""; // Remove Vignette Texture
};
20 changes: 3 additions & 17 deletions addons/ui/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 0 additions & 1 deletion addons/ui/functions/script_component.hpp

This file was deleted.

5 changes: 2 additions & 3 deletions addons/ui/script_component.hpp
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"

0 comments on commit 7215dd9

Please sign in to comment.