mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:37:36 +00:00
More work on focus.
ListBox now renders differently depending on focus state.
This commit is contained in:
parent
1929cb6b71
commit
6f1b384cde
6 changed files with 39 additions and 9 deletions
|
@ -41,6 +41,7 @@ public:
|
|||
bool isActive() const;
|
||||
|
||||
Widget* focusedWidget() { return m_focusedWidget.ptr(); }
|
||||
const Widget* focusedWidget() const { return m_focusedWidget.ptr(); }
|
||||
void setFocusedWidget(Widget*);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue