From ab5e6d42a615d295e669e8efd2190552ca3500f4 Mon Sep 17 00:00:00 2001 From: zetaPRIME Date: Thu, 11 May 2017 22:46:25 -0400 Subject: [PATCH] oh wait, that's not a vector2 --- libstarlight/source/starlight/gfx/FontNull.h | 2 +- libstarlight/todo.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libstarlight/source/starlight/gfx/FontNull.h b/libstarlight/source/starlight/gfx/FontNull.h index d300084..89d8219 100644 --- a/libstarlight/source/starlight/gfx/FontNull.h +++ b/libstarlight/source/starlight/gfx/FontNull.h @@ -14,7 +14,7 @@ namespace starlight { Vector2 Measure(const std::string& text, float scale = 1, float maxWidth = 400) override { return Vector2::zero; } Vector2 GetCursorPosition(VRect rect, const std::string& text, unsigned int end, float scale = 1) override { return Vector2::zero; } - unsigned int GetCursorFromPoint(VRect rect, const std::string& text, Vector2 pt, float scale = 1) override { return Vector2::zero; } + unsigned int GetCursorFromPoint(VRect rect, const std::string& text, Vector2 pt, float scale = 1) override { return 0; } }; } diff --git a/libstarlight/todo.txt b/libstarlight/todo.txt index 0213efb..0e795bf 100644 --- a/libstarlight/todo.txt +++ b/libstarlight/todo.txt @@ -8,6 +8,9 @@ roadmap to v0.5.1 { maybe entirely replace clearing with transparent knockout on bind? implement more blend modes?? + make button glyphs usable in conjunction with text (left edge, margin etc.) + give glyphs a color mode where they aren't set to text color + - libctru console as ui element - pngcrush the biggest assets (default and osk backdrops etc.)