GTextEditor: Allow setting a custom font for each span

This commit is contained in:
Andreas Kling 2019-10-26 00:13:07 +02:00
commit 59107a7cfe
Notes: sideshowbarker 2024-07-19 11:32:33 +09:00
2 changed files with 5 additions and 1 deletions

View file

@ -180,6 +180,7 @@ public:
GTextPosition start;
GTextPosition end;
Color color;
const Font* font { nullptr };
};
void set_spans(const Vector<Span>& spans)