mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibGUI: Implement move_cursor() in ColumnsView
This commit is contained in:
parent
386c7201d8
commit
37df36dbed
Notes:
sideshowbarker
2024-07-19 02:56:56 +09:00
Author: https://github.com/awesomekling
Commit: 37df36dbed
2 changed files with 53 additions and 53 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
private:
|
||||
ColumnsView();
|
||||
virtual ~ColumnsView() override;
|
||||
void push_column(ModelIndex& parent_index);
|
||||
void push_column(const ModelIndex& parent_index);
|
||||
void update_column_sizes();
|
||||
|
||||
int item_height() const { return 16; }
|
||||
|
@ -55,6 +55,8 @@ private:
|
|||
virtual void mousedown_event(MouseEvent& event) override;
|
||||
virtual void keydown_event(KeyEvent& event) override;
|
||||
|
||||
void move_cursor(CursorMovement, SelectionUpdate) override;
|
||||
|
||||
virtual void select_all() override;
|
||||
struct Column {
|
||||
ModelIndex parent_index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue