aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/CMakeLists.txt1
-rw-r--r--src/ui/controls/TextHostControlService.cpp10
-rw-r--r--src/ui/helper/BorderStyle.cpp0
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