diff options
author | crupest <crupest@outlook.com> | 2021-11-17 18:53:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-17 18:53:48 +0800 |
commit | 7be210036e363f2105ace761451448507d4b06d8 (patch) | |
tree | f1facc5899f35dd02efdb9e0aadd26155d5499d5 /src/ui | |
parent | 17e35c8ebb51c2679421330056615fa8678b939e (diff) | |
download | cru-7be210036e363f2105ace761451448507d4b06d8.tar.gz cru-7be210036e363f2105ace761451448507d4b06d8.tar.bz2 cru-7be210036e363f2105ace761451448507d4b06d8.zip |
...
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/ui/controls/TextHostControlService.cpp | 10 | ||||
-rw-r--r-- | src/ui/helper/BorderStyle.cpp | 0 |
3 files changed, 8 insertions, 3 deletions
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index 5d813911..35c3581f 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -25,7 +25,6 @@ add_library(cru_ui STATIC controls/TextHostControlService.cpp controls/Window.cpp events/UiEvent.cpp - helper/BorderStyle.cpp helper/ClickDetector.cpp helper/ShortcutHub.cpp host/LayoutPaintCycler.cpp diff --git a/src/ui/controls/TextHostControlService.cpp b/src/ui/controls/TextHostControlService.cpp index 740fa447..42153ffd 100644 --- a/src/ui/controls/TextHostControlService.cpp +++ b/src/ui/controls/TextHostControlService.cpp @@ -95,11 +95,17 @@ TextControlMovePattern TextControlMovePattern::kCtrlEnd( TextControlMovePattern TextControlMovePattern::kPageUp( helper::ShortcutKeyBind(platform::gui::KeyCode::PageUp), [](TextHostControlService* service, StringView text, - gsl::index current_position) { return current_position; }); + gsl::index current_position) { + // TODO: Implement this. + return current_position; + }); TextControlMovePattern TextControlMovePattern::kPageDown( helper::ShortcutKeyBind(platform::gui::KeyCode::PageDown), [](TextHostControlService* service, StringView text, - gsl::index current_position) { return current_position; }); + gsl::index current_position) { + // TODO: Implement this. + return current_position; + }); std::vector<TextControlMovePattern> TextControlMovePattern::kDefaultPatterns = { TextControlMovePattern::kLeft, TextControlMovePattern::kRight, diff --git a/src/ui/helper/BorderStyle.cpp b/src/ui/helper/BorderStyle.cpp deleted file mode 100644 index e69de29b..00000000 --- a/src/ui/helper/BorderStyle.cpp +++ /dev/null |