mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibGUI: Implement move_cursor() in ColumnsView
This commit is contained in:
parent
386c7201d8
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