aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/frame.cpp3
-rw-r--r--src/menu/frame.hpp2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/menu/frame.cpp b/src/menu/frame.cpp
index ed34b5f9..d3695392 100644
--- a/src/menu/frame.cpp
+++ b/src/menu/frame.cpp
@@ -28,6 +28,9 @@
namespace usdx
{
+ log4cpp::Category& Frame::log =
+ log4cpp::Category::getInstance("usdx.menu.frame");
+
Frame::Frame(Container* parent)
: Container(parent), background(NULL)
{
diff --git a/src/menu/frame.hpp b/src/menu/frame.hpp
index 7a43d59b..6a2b0892 100644
--- a/src/menu/frame.hpp
+++ b/src/menu/frame.hpp
@@ -28,6 +28,7 @@
#define FRAME_HPP
#include <SDL/SDL.h>
+#include <log4cpp/Category.hh>
#include "container.hpp"
#include "frame_background.hpp"
@@ -37,6 +38,7 @@ namespace usdx
class Frame : public Container
{
private:
+ static log4cpp::Category& log;
FrameBackground* background;
protected: