aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_color.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/background_color.cpp (renamed from src/menu/frame_background_color.cpp)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/menu/frame_background_color.cpp b/src/menu/background_color.cpp
index a0558082..aa8a90d2 100644
--- a/src/menu/frame_background_color.cpp
+++ b/src/menu/background_color.cpp
@@ -24,22 +24,22 @@
* $Id$
*/
-#include "frame_background_color.hpp"
+#include "background_color.hpp"
#include <GL/gl.h>
namespace usdx
{
- FrameBackgroundColor::FrameBackgroundColor(RgbColor &color) :
+ BackgroundColor::BackgroundColor(RgbColor &color) :
color(color)
{
}
- FrameBackgroundColor::FrameBackgroundColor(void) :
+ BackgroundColor::BackgroundColor(void) :
color(0, 0, 0)
{
}
- void FrameBackgroundColor::draw()
+ void BackgroundColor::draw()
{
glClearColor(color.get_red(), color.get_green(), color.get_blue(), 1.0f);
glClear(GL_COLOR_BUFFER_BIT);