1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibWeb: Add UIEvent class (base of MouseEvent, and others)

This commit is contained in:
Andreas Kling 2020-07-28 19:38:25 +02:00
parent ef711f501e
commit c95a1fe3a3
5 changed files with 59 additions and 5 deletions

View file

@ -42,10 +42,11 @@ public:
return adopt(*new Event(event_name));
}
virtual ~Event() {}
virtual ~Event() { }
const FlyString& type() const { return m_type; }
virtual bool is_ui_event() const { return false; }
virtual bool is_mouse_event() const { return false; }
protected: