1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08: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:
thankyouverycool 2021-09-23 20:07:34 -04:00 committed by Andreas Kling
parent 91b3e9b7ae
commit fde48f1a7a
6 changed files with 81 additions and 22 deletions

View file

@ -80,6 +80,7 @@ private:
RefPtr<GUI::Widget> m_left_column_container;
RefPtr<GUI::Widget> m_glyph_editor_container;
RefPtr<GUI::ComboBox> m_weight_combobox;
RefPtr<GUI::ComboBox> m_slope_combobox;
RefPtr<GUI::SpinBox> m_spacing_spinbox;
RefPtr<GUI::SpinBox> m_baseline_spinbox;
RefPtr<GUI::SpinBox> m_mean_line_spinbox;
@ -93,5 +94,6 @@ private:
String m_path;
Vector<String> m_font_weight_list;
Vector<String> m_font_slope_list;
bool m_font_metadata { true };
};