summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Color.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Graphics/Color.h')
-rw-r--r--Runtime/Graphics/Color.h54
1 files changed, 28 insertions, 26 deletions
diff --git a/Runtime/Graphics/Color.h b/Runtime/Graphics/Color.h
index 3cff7a5..abc0724 100644
--- a/Runtime/Graphics/Color.h
+++ b/Runtime/Graphics/Color.h
@@ -1,33 +1,35 @@
-#ifndef COLOR_H
-#define COLOR_H
+#pragma once
#include "../Utilities/Type.h"
-class Color
+namespace Internal
{
-public:
- Color(float r = 0, float g = 0, float b = 0, float a = 0)
- {
- this->r = r;
- this->g = g;
- this->b = b;
- this->a = a;
- }
- float r, g, b, a;
-};
-class Color32
-{
-public:
- Color32(int r = 0, int g = 0, int b = 0, int a = 0)
- {
- this->r = r;
- this->g = g;
- this->b = b;
- this->a = a;
- }
- int r, g, b, a;
+ class Color
+ {
+ public:
+ Color(float r = 0, float g = 0, float b = 0, float a = 0)
+ {
+ this->r = r;
+ this->g = g;
+ this->b = b;
+ this->a = a;
+ }
+ float r, g, b, a;
+ };
+
+ class Color32
+ {
+ public:
+ Color32(int r = 0, int g = 0, int b = 0, int a = 0)
+ {
+ this->r = r;
+ this->g = g;
+ this->b = b;
+ this->a = a;
+ }
+ int r, g, b, a;
-};
+ };
-#endif \ No newline at end of file
+}