57 class font_picker :
public button<>
62 neogfx::size_policy size_policy()
const override;
70 mutable std::optional<glyph_text> iSampleText;
90 void update_selected_font(
const i_widget& aUpdatingWidget);
91 void update_selected_format(
const i_widget& aUpdatingWidget);
96 neogfx::font iCurrentFont;
97 neogfx::font iSelectedFont;
98 std::optional<text_format> iCurrentTextFormat;
99 std::optional<text_format> iSelectedTextFormat;
101 std::optional<drop_list> iFamilyPicker;
102 std::optional<drop_list> iStylePicker;
103 std::optional<drop_list> iSizePicker;
104 std::optional<font_picker> iFontPicker;