Start bringing up LibGUI properly (formerly Widgets.)

This commit is contained in:
Andreas Kling 2019-01-20 05:48:43 +01:00
commit 8eae89a405
Notes: sideshowbarker 2024-07-19 16:00:02 +09:00
17 changed files with 258 additions and 33 deletions

View file

@ -134,9 +134,9 @@ private:
class GMouseEvent final : public GEvent {
public:
GMouseEvent(Type type, int x, int y, GMouseButton button = GMouseButton::None)
GMouseEvent(Type type, const Point& position, GMouseButton button = GMouseButton::None)
: GEvent(type)
, m_position(x, y)
, m_position(position)
, m_button(button)
{
}