]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/root.cpp
Enable loading of entry widgets from datafiles
[libs/gltk.git] / source / root.cpp
index 32cd87940fe22e71abcef2769f2c3b6516181005..8dfe491d14f2d16336c43af653d746ad89bd3686 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of libmspgltk
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include "root.h"
 
 namespace Msp {
@@ -14,6 +21,8 @@ Root::Root(Resources &r, Window &w):
        window.signal_button_press.connect(sigc::mem_fun(this, &Root::button_press_event));
        window.signal_button_release.connect(sigc::mem_fun(this, &Root::button_release_event));
        window.signal_pointer_motion.connect(sigc::mem_fun(this, &Root::pointer_motion_event));
+       window.signal_key_press.connect(sigc::mem_fun(this, &Root::key_press));
+       window.signal_key_release.connect(sigc::mem_fun(this, &Root::key_release));
 }
 
 void Root::button_press_event(int x, int y, unsigned btn, unsigned)