mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Implement basic focus.
This commit is contained in:
parent
44a32039be
commit
1929cb6b71
6 changed files with 45 additions and 4 deletions
|
@ -36,6 +36,9 @@ public:
|
|||
void update();
|
||||
void repaint(const Rect&);
|
||||
|
||||
bool isFocused() const;
|
||||
void setFocus(bool);
|
||||
|
||||
struct HitTestResult {
|
||||
Widget* widget { nullptr };
|
||||
int localX { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue