Window::Window()
{
+ parent = 0;
title = 0;
rect.x = rect.y = 0;
rect.width = rect.height = 128;
return rect;
}
+const Rect &Window::get_absolute_rect() const
+{
+ return rect; // TODO implement absolute rectangle thingy
+}
+
bool Window::contains_point(int ptr_x, int ptr_y)
{
return ptr_x >= rect.x && ptr_x < rect.x + rect.width &&