mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
FontEditor: Allow editing new font header
And make use of mapping functions moved from LibGUI/FontPickerWeightModel.h => LibGfx/FontStyleMapping.h
This commit is contained in:
parent
91b3e9b7ae
commit
fde48f1a7a
6 changed files with 81 additions and 22 deletions
|
@ -34,6 +34,7 @@ private:
|
|||
u8 mean_line;
|
||||
u8 presentation_size;
|
||||
u16 weight;
|
||||
u8 slope;
|
||||
String name;
|
||||
String family;
|
||||
bool is_fixed_width;
|
||||
|
@ -47,6 +48,7 @@ private:
|
|||
RefPtr<GUI::TextBox> m_name_textbox;
|
||||
RefPtr<GUI::TextBox> m_family_textbox;
|
||||
RefPtr<GUI::ComboBox> m_weight_combobox;
|
||||
RefPtr<GUI::ComboBox> m_slope_combobox;
|
||||
RefPtr<GUI::SpinBox> m_presentation_spinbox;
|
||||
|
||||
RefPtr<GUI::WizardPage> m_glyph_properties_page;
|
||||
|
@ -60,4 +62,5 @@ private:
|
|||
|
||||
Vector<String> m_font_list;
|
||||
Vector<String> m_font_weight_list;
|
||||
Vector<String> m_font_slope_list;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue