diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-06-07 09:44:33 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-06-07 09:44:33 +0000 |
| commit | c0b08b4f091641f70df0f5104f52c56ca360cc63 (patch) | |
| tree | 74c8be69f719f27fe6df0127c5e8deb1787644ee /src/ui/widget/font-variants.h | |
| parent | Fixes to extension system and simplify the code (diff) | |
| download | inkscape-c0b08b4f091641f70df0f5104f52c56ca360cc63.tar.gz inkscape-c0b08b4f091641f70df0f5104f52c56ca360cc63.zip | |
Add GUI support for 'font-variant-east-asian' property.
Diffstat (limited to 'src/ui/widget/font-variants.h')
| -rw-r--r-- | src/ui/widget/font-variants.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/src/ui/widget/font-variants.h b/src/ui/widget/font-variants.h index ff8b1d781..f97f93a82 100644 --- a/src/ui/widget/font-variants.h +++ b/src/ui/widget/font-variants.h @@ -97,7 +97,25 @@ protected: Gtk::CheckButton _numeric_slashed_zero; Gtk::Label _numeric_slashed_zero_label; + // East Asian: Complicated! + Gtk::Expander _asian_frame; + Gtk::Grid _asian_grid; + Gtk::RadioButton _asian_default_variant; + Gtk::RadioButton _asian_jis78; + Gtk::RadioButton _asian_jis83; + Gtk::RadioButton _asian_jis90; + Gtk::RadioButton _asian_jis04; + Gtk::RadioButton _asian_simplified; + Gtk::RadioButton _asian_traditional; + + Gtk::RadioButton _asian_default_width; + Gtk::RadioButton _asian_full_width; + Gtk::RadioButton _asian_proportional_width; + + Gtk::CheckButton _asian_ruby; + + // ----- Gtk::Expander _feature_frame; Gtk::VBox _feature_vbox; Gtk::Entry _feature_entry; @@ -118,6 +136,9 @@ private: void numeric_init(); void numeric_callback(); + void asian_init(); + void asian_callback(); + void feature_init(); void feature_callback(); @@ -126,17 +147,20 @@ private: unsigned _position_all; unsigned _caps_all; unsigned _numeric_all; - + unsigned _asian_all; + unsigned _ligatures_mix; unsigned _position_mix; unsigned _caps_mix; unsigned _numeric_mix; + unsigned _asian_mix; bool _ligatures_changed; bool _position_changed; bool _caps_changed; bool _numeric_changed; bool _feature_changed; + bool _asian_changed; sigc::signal<void> _changed_signal; |
