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:
parent
ef711f501e
commit
c95a1fe3a3
5 changed files with 59 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue