aboutsummaryrefslogtreecommitdiffstats
path: root/src/frames
diff options
context:
space:
mode:
Diffstat (limited to 'src/frames')
-rw-r--r--src/frames/loading_frame.cpp5
-rw-r--r--src/frames/loading_frame.hpp4
2 files changed, 8 insertions, 1 deletions
diff --git a/src/frames/loading_frame.cpp b/src/frames/loading_frame.cpp
index cf1f0382..afaa7d0b 100644
--- a/src/frames/loading_frame.cpp
+++ b/src/frames/loading_frame.cpp
@@ -30,12 +30,15 @@
namespace usdx
{
+ log4cxx::LoggerPtr LoadingFrame::log =
+ log4cxx::Logger::getLogger("usdx.frames.loading_frame");
+
LoadingFrame::LoadingFrame() :
Frame(NULL)
{
// RgbColor background(100, 100, 100);
// set_background(new FrameBackgroundColor(background));
- set_background(new FrameBackgroundImage(L"game/themes/Deluxe/[bg-load]blue.jpg"));
+ set_background(new FrameBackgroundImage("game/themes/Deluxe/[bg-load]blue.jpg"));
}
LoadingFrame::~LoadingFrame()
diff --git a/src/frames/loading_frame.hpp b/src/frames/loading_frame.hpp
index cf8864e4..5ddf0bf4 100644
--- a/src/frames/loading_frame.hpp
+++ b/src/frames/loading_frame.hpp
@@ -28,11 +28,15 @@
#define LOADING_FRAME_HPP
#include "frame.hpp"
+#include <log4cxx/logger.h>
namespace usdx
{
class LoadingFrame : public Frame
{
+ private:
+ static log4cxx::LoggerPtr log;
+
public:
LoadingFrame();
virtual ~LoadingFrame();