1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +00:00

LibGUI: Implement move_cursor() in ColumnsView

This commit is contained in:
Andreas Kling 2020-09-01 16:26:32 +02:00
parent 386c7201d8
commit 37df36dbed
2 changed files with 53 additions and 53 deletions

View file

@ -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;