1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

Start bringing up LibGUI properly (formerly Widgets.)

This commit is contained in:
Andreas Kling 2019-01-20 05:48:43 +01:00
parent b91479d9b9
commit 8eae89a405
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)
{
}