mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibGfx: Convert FontDatabase APIs to use FlyString
This commit is contained in:
parent
e4d14e1afc
commit
13db3c5ce0
15 changed files with 66 additions and 62 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/FlyString.h>
|
||||
#include <LibGUI/Dialog.h>
|
||||
#include <LibGfx/Font/Font.h>
|
||||
#include <LibGfx/Forward.h>
|
||||
|
@ -37,12 +38,12 @@ private:
|
|||
RefPtr<SpinBox> m_size_spin_box;
|
||||
RefPtr<Label> m_sample_text_label;
|
||||
|
||||
Vector<DeprecatedString> m_families;
|
||||
Vector<DeprecatedString> m_variants;
|
||||
Vector<FlyString> m_families;
|
||||
Vector<FlyString> m_variants;
|
||||
Vector<int> m_sizes;
|
||||
|
||||
Optional<DeprecatedString> m_family;
|
||||
Optional<DeprecatedString> m_variant;
|
||||
Optional<FlyString> m_family;
|
||||
Optional<FlyString> m_variant;
|
||||
Optional<int> m_size;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue