diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-06-14 21:51:42 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-06-14 21:51:42 +0200 |
commit | 52f8dc5d05f5e34b0a3cf4bb4e4fe607f06965c5 (patch) | |
tree | 338a4a83685e0f0c7805ef3a884bec8274949f93 /include | |
parent | a3843702b93513052e1e167d52f232b5a5301bd0 (diff) |
Better G key behavior in matrix, add ctrl+g for encrypt reply, load mpris from system path if available for videos
Diffstat (limited to 'include')
-rw-r--r-- | include/Entry.hpp | 1 | ||||
-rw-r--r-- | include/Text.hpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/Entry.hpp b/include/Entry.hpp index f4cbc5d..54a5713 100644 --- a/include/Entry.hpp +++ b/include/Entry.hpp @@ -32,6 +32,7 @@ namespace QuickMedia { void replace(size_t start_index, size_t length, const std::string &insert_str); int get_caret_index() const; + void set_caret_index(int index); bool is_editable() const; float get_height(); diff --git a/include/Text.hpp b/include/Text.hpp index 89aba99..21b6dc0 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -117,6 +117,7 @@ namespace QuickMedia void replace(size_t start_index, size_t length, const std::string &insert_str); int getCaretIndex() const; + void setCaretIndex(int index); int getNumLines() const; void set_color(mgl::Color color, bool force_color = false); |