1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

Spreadsheet: Add function for moving cursor

This function allows to access cursor movement functionality outside of
SpreadsheetView class.
This commit is contained in:
zawwwu 2021-07-03 16:55:02 +03:00 committed by Ali Mohammad Pur
parent e8579ed24a
commit cf91815654
2 changed files with 7 additions and 0 deletions

View file

@ -100,6 +100,8 @@ public:
Function<void(Vector<Position>&&)> on_selection_changed;
Function<void()> on_selection_dropped;
void move_cursor(GUI::AbstractView::CursorMovement);
private:
virtual void hide_event(GUI::HideEvent&) override;
virtual void show_event(GUI::ShowEvent&) override;