/* $Id$
This file is part of libmspgltk
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007, 2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
#ifndef MSP_GLTK_ROOT_H_
#define MSP_GLTK_ROOT_H_
+#include <sigc++/trackable.h>
#include <msp/gbase/window.h>
#include "panel.h"
it is created for. The size can be changed, but a Root should always be
rendered to fill the window in order to get coordinates mapped correctly.
*/
-class Root: public Panel
+class Root: public Panel, public sigc::trackable
{
private:
- Window &window;
+ Graphics::Window &window;
public:
- Root(Resources &, Window &);
+ Root(const Resources &, Graphics::Window &);
private:
virtual const char *get_class() const { return "root"; }
void button_press_event(int, int, unsigned, unsigned);