mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Make UColor constant
This commit is contained in:
parent
d6db83805d
commit
4c06dd7107
2 changed files with 26 additions and 26 deletions
|
@ -23,19 +23,19 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "ucolor.h"
|
||||
#include <cmath>
|
||||
|
||||
UColor UClear( 0, 0, 0, 0 );
|
||||
UColor UWhite( 1, 1, 1, 1 );
|
||||
UColor UBlack( 0, 0, 0, 1 );
|
||||
UColor ULightGrey( 0.875, 0.875, 0.875, 1.0 );
|
||||
UColor UGrey( 0.75, 0.75, 0.75, 1.0 );
|
||||
UColor UDarkGrey( 0.5, 0.5, 0.5, 1.0 );
|
||||
UColor ULightRed( 1.0, 0.5, 0.5, 1.0 );
|
||||
UColor URed( 1.0, 0.0, 0.0, 1.0 );
|
||||
UColor UGreen( 0.0, 1.0, 0.0, 1.0 );
|
||||
UColor ULightGreen( 0.5, 1.0, 0.5, 1.0 );
|
||||
UColor UBlue( 0.0, 0.0, 1.0, 1.0 );
|
||||
UColor UYellow( 1.0, 1.0, 0.0, 1.0 );
|
||||
UColor UHudColor( 0.7f, 0.6f, 0.05f, 1.0f );
|
||||
const UColor UClear( 0, 0, 0, 0 );
|
||||
const UColor UWhite( 1, 1, 1, 1 );
|
||||
const UColor UBlack( 0, 0, 0, 1 );
|
||||
const UColor ULightGrey( 0.875, 0.875, 0.875, 1.0 );
|
||||
const UColor UGrey( 0.75, 0.75, 0.75, 1.0 );
|
||||
const UColor UDarkGrey( 0.5, 0.5, 0.5, 1.0 );
|
||||
const UColor ULightRed( 1.0, 0.5, 0.5, 1.0 );
|
||||
const UColor URed( 1.0, 0.0, 0.0, 1.0 );
|
||||
const UColor UGreen( 0.0, 1.0, 0.0, 1.0 );
|
||||
const UColor ULightGreen( 0.5, 1.0, 0.5, 1.0 );
|
||||
const UColor UBlue( 0.0, 0.0, 1.0, 1.0 );
|
||||
const UColor UYellow( 1.0, 1.0, 0.0, 1.0 );
|
||||
const UColor UHudColor( 0.7f, 0.6f, 0.05f, 1.0f );
|
||||
|
||||
UColor::UColor
|
||||
(
|
||||
|
|
|
@ -72,16 +72,16 @@ public:
|
|||
void CreateSolidBorder( const UColor& color, colorType_t type );
|
||||
};
|
||||
|
||||
extern UColor UClear;
|
||||
extern UColor UWhite;
|
||||
extern UColor UBlack;
|
||||
extern UColor ULightGrey;
|
||||
extern UColor UGrey;
|
||||
extern UColor UDarkGrey;
|
||||
extern UColor ULightRed;
|
||||
extern UColor URed;
|
||||
extern UColor UGreen;
|
||||
extern UColor ULightGreen;
|
||||
extern UColor UBlue;
|
||||
extern UColor UYellow;
|
||||
extern UColor UHudColor;
|
||||
extern const UColor UClear;
|
||||
extern const UColor UWhite;
|
||||
extern const UColor UBlack;
|
||||
extern const UColor ULightGrey;
|
||||
extern const UColor UGrey;
|
||||
extern const UColor UDarkGrey;
|
||||
extern const UColor ULightRed;
|
||||
extern const UColor URed;
|
||||
extern const UColor UGreen;
|
||||
extern const UColor ULightGreen;
|
||||
extern const UColor UBlue;
|
||||
extern const UColor UYellow;
|
||||
extern const UColor UHudColor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue