X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.h;h=942fc8c984074f72572828e5ed5efee6f43675ab;hb=77f1906effbbaaff2c1c53926a3e77bb8f4aa799;hp=38b92177f932ca67c6dbee81cd40cbc015f4321e;hpb=1023b38fa278cea71fba3d2881e1bfde930cd025;p=libs%2Fgui.git diff --git a/source/graphics/window.h b/source/graphics/window.h index 38b9217..942fc8c 100644 --- a/source/graphics/window.h +++ b/source/graphics/window.h @@ -3,7 +3,6 @@ #include #include -#include "eventsource.h" namespace Msp { namespace Graphics { @@ -20,12 +19,18 @@ struct WindowOptions WindowOptions(); }; -class Window: public EventSource +class Window { public: struct Private; struct Event; + /** Provides input events. The event structure contents are platform- + specific. Applications will want to use the enclosed Keyboard and Mouse + objects instead. */ + sigc::signal signal_input_event; + + sigc::signal signal_resize; sigc::signal signal_close; protected: