aboutsummaryrefslogtreecommitdiffstats
path: root/src/frames
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/frames/loading_frame.cpp4
-rw-r--r--src/frames/loading_frame.hpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/frames/loading_frame.cpp b/src/frames/loading_frame.cpp
index 48996f1f..3be2af76 100644
--- a/src/frames/loading_frame.cpp
+++ b/src/frames/loading_frame.cpp
@@ -33,8 +33,8 @@ namespace usdx
log4cpp::Category& LoadingFrame::log =
log4cpp::Category::getInstance("usdx.frames.loading_frame");
- LoadingFrame::LoadingFrame() :
- Frame(NULL)
+ LoadingFrame::LoadingFrame(Application* app) :
+ Frame(app)
{
// RgbColor background(100, 100, 100);
// set_background(new FrameBackgroundColor(background));
diff --git a/src/frames/loading_frame.hpp b/src/frames/loading_frame.hpp
index 5c698d88..f72c2761 100644
--- a/src/frames/loading_frame.hpp
+++ b/src/frames/loading_frame.hpp
@@ -28,6 +28,7 @@
#define LOADING_FRAME_HPP
#include "menu/frame.hpp"
+#include "menu/application.hpp"
#include <log4cpp/Category.hh>
namespace usdx
@@ -38,7 +39,7 @@ namespace usdx
static log4cpp::Category& log;
public:
- LoadingFrame();
+ LoadingFrame(Application*);
virtual ~LoadingFrame();
};
};