LibGUI: Paint a focus rect around the cursor index in TableView

This commit is contained in:
Andreas Kling 2020-10-27 16:18:35 +01:00
commit c0076681ad
Notes: sideshowbarker 2024-07-19 01:41:21 +09:00
2 changed files with 11 additions and 2 deletions

View file

@ -45,6 +45,7 @@ public:
enum class CursorStyle {
None,
Item,
Row,
};
GridStyle grid_style() const { return m_grid_style; }
@ -63,7 +64,7 @@ protected:
private:
GridStyle m_grid_style { GridStyle::None };
CursorStyle m_cursor_style { CursorStyle::None };
CursorStyle m_cursor_style { CursorStyle::Row };
};
}