mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
GTextEditor: Let's use a Vector for the line backing store.
I'm eventually gonna want to replace this with something more clever, like a automagically splicing vector or something, but for now, at least we move away from immutable Strings.
This commit is contained in:
parent
a21ecd440a
commit
ce35cddb1b
4 changed files with 36 additions and 17 deletions
|
@ -35,6 +35,7 @@ public:
|
|||
void blit(const Point&, const GraphicsBitmap&, const Rect& src_rect);
|
||||
void blit_with_opacity(const Point&, const GraphicsBitmap&, const Rect& src_rect, float opacity);
|
||||
|
||||
void draw_text(const Rect&, const char* text, int length, TextAlignment = TextAlignment::TopLeft, Color = Color());
|
||||
void draw_text(const Rect&, const String&, TextAlignment = TextAlignment::TopLeft, Color = Color());
|
||||
void draw_glyph(const Point&, char, Color);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue