-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
+#include <msp/gl/blend.h>
#include <msp/input/keys.h>
#include <msp/time/units.h>
#include <msp/time/utils.h>
}
}
+void Root::render() const
+{
+ GL::MatrixStack::projection() = GL::Matrix::ortho_bottomleft(geom.w, geom.h);
+ GL::MatrixStack::modelview() = GL::Matrix();
+ GL::Bind bind_blend(GL::Blend::alpha());
+
+ Widget::render();
+}
+
void Root::button_press_event(int x, int y, unsigned btn, unsigned mod)
{
if(visible)