2 // GUI element base class
9 // Initialize class variables (Element)
11 uint32 * Element::screenBuffer = NULL;
12 uint32 Element::pitch = 0;
14 bool Element::Inside(uint32 x, uint32 y)
16 return (x >= (uint32)extents.x && x < (uint32)(extents.x + extents.w)
17 && y >= (uint32)extents.y && y < (uint32)(extents.y + extents.h) ? true : false);