aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_color.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu/background_color.hpp')
-rw-r--r--src/menu/background_color.hpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/menu/background_color.hpp b/src/menu/background_color.hpp
index d91edcdf..d1793744 100644
--- a/src/menu/background_color.hpp
+++ b/src/menu/background_color.hpp
@@ -27,6 +27,8 @@
#ifndef BACKGROUND_COLOR_HPP
#define BACKGROUND_COLOR_HPP
+#include <GL/gl.h>
+
#include "background.hpp"
#include "utils/rgb_color.hpp"
@@ -35,14 +37,15 @@ namespace usdx
class BackgroundColor : public Background
{
private:
- RgbColor color;
-
+ GLint vertices[8];
+ GLubyte color[12];
protected:
void draw(void);
public:
- BackgroundColor(void);
- BackgroundColor(RgbColor &color);
+ BackgroundColor(const DrawableControl &control);
+ BackgroundColor(const DrawableControl &control,
+ const RgbColor &color);
};
};