mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 21:57:35 +00:00
LibGUI: Refactor the keyboard activation code a bit to use WeakPtr<GWidget>.
This commit is contained in:
parent
41bcabd9aa
commit
da475ce3f5
6 changed files with 43 additions and 39 deletions
|
@ -102,7 +102,7 @@ public:
|
|||
void update(const Rect&);
|
||||
|
||||
virtual bool accepts_focus() const { return false; }
|
||||
virtual bool accepts_keyboard_select() const { return false; }
|
||||
virtual bool supports_keyboard_activation() const { return false; }
|
||||
|
||||
bool is_focused() const;
|
||||
void set_focus(bool);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue