Skip to content

Commit

Permalink
Use uint for color constants
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Jun 6, 2021
1 parent 62c489a commit 3cfd93c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/prefconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "QString"

namespace PrefConstants {
const static int BG_COLOR = 0;
const static unsigned int BG_COLOR = 0x00000000;
const static int BG_ALPHA = 30;
const static int BG_ALPHA_MIN = 2;

Expand All @@ -26,12 +26,12 @@ const static bool FONT_SHADOW_ENABLE = true;
const static int FONT_SHADOW_BLUR_RADIUS = 8;
const static int FONT_SHADOW_BLUR_RADIUS_MAX = 100;
const static int FONT_SHADOW_BLUR_RADIUS_STEP = 1;
const static int FONT_SHADOW_COLOR = 0;
const static unsigned int FONT_SHADOW_COLOR = 0x00000000;
const static int FONT_SHADOW_OFFSET_X = 0;
const static int FONT_SHADOW_OFFSET_Y = 0;
const static int FONT_SHADOW_OFFSET_LIMIT = 100;

const static int FONT_COLOR = 4294967295; // white
const static unsigned int FONT_COLOR = 0xffffffff; // white

const static bool REMEMBER_WINDOW_POS_AND_SIZE = true;
const static int WINDOW_X = 0;
Expand Down

0 comments on commit 3cfd93c

Please sign in to comment.