Add a TestField widget that supports a cursor.

This commit is contained in:
Kyle Reed
2023-04-28 19:26:53 -07:00
parent 5c4e27ea29
commit 4b37f1bb2f
6 changed files with 218 additions and 80 deletions

View File

@@ -49,8 +49,8 @@ public:
int draw_char(const Point p, const Style& style, const char c);
int draw_string(Point p, const Font& font, const Color foreground,
const Color background, const std::string text);
int draw_string(Point p, const Style& style, const std::string text);
const Color background, const std::string& text);
int draw_string(Point p, const Style& style, const std::string& text);
void draw_bitmap(const Point p, const Bitmap& bitmap, const Color background, const Color foreground);