summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f93db00)
raw | patch | inline | side by side (parent: f93db00)
author | JucaBlues <JucaBlues@users.sourceforge.net> | |
Tue, 5 Aug 2008 11:01:14 +0000 (11:01 +0000) | ||
committer | JucaBlues <JucaBlues@users.sourceforge.net> | |
Tue, 5 Aug 2008 11:01:14 +0000 (11:01 +0000) |
src/ui/dialog/svg-fonts-dialog.cpp | patch | blob | history | |
src/ui/dialog/svg-fonts-dialog.h | patch | blob | history |
index 9483b291566153b1d4d9ec542a555ce84fb2d172..ccbe450463b3d50d48a112b02b01a54f230a8379 100644 (file)
return hbox;
}
+Gtk::HBox* SvgFontsDialog::AttrCombo(gchar* lbl){
+ Gtk::HBox* hbox = Gtk::manage(new Gtk::HBox());
+ hbox->add(* Gtk::manage(new Gtk::Label(lbl)) );
+ hbox->add(* Gtk::manage(new Gtk::ComboBox()) );
+ hbox->show_all();
+ return hbox;
+}
+
+/*
+Gtk::HBox* SvgFontsDialog::AttrSpin(gchar* lbl){
+ Gtk::HBox* hbox = Gtk::manage(new Gtk::HBox());
+ hbox->add(* Gtk::manage(new Gtk::Label(lbl)) );
+ hbox->add(* Gtk::manage(new Gtk::SpinBox()) );
+ hbox->show_all();
+ return hbox;
+}*/
+
/*** SvgFontsDialog ***/
GlyphComboBox::GlyphComboBox(){
Gtk::VBox* SvgFontsDialog::global_settings_tab(){
Gtk::VBox* global_vbox = Gtk::manage(new Gtk::VBox());
+ global_vbox->add(*AttrEntry((gchar*) "Family Name"));
+ global_vbox->add(*AttrCombo((gchar*) "Style"));
+ global_vbox->add(*AttrCombo((gchar*) "Variant"));
+ global_vbox->add(*AttrCombo((gchar*) "Weight"));
+
//Set Width (horiz_adv_x):
Gtk::HBox* setwidth_hbox = Gtk::manage(new Gtk::HBox());
setwidth_hbox->add(*Gtk::manage(new Gtk::Label(_("Set width:"))));
Gtk::VBox* SvgFontsDialog::glyphs_tab(){
Gtk::VBox* glyphs_vbox = Gtk::manage(new Gtk::VBox());
- glyphs_vbox->add(*AttrEntry((gchar*) "Name"));
+ glyphs_vbox->add(*AttrEntry((gchar*) "Glyph Name"));
glyphs_vbox->add(*AttrEntry((gchar*) "Unicode"));
+ //glyphs_vbox->add(*AttrSpin((gchar*) "Horizontal Advance"));
+ //glyphs_vbox->add(*AttrCombo((gchar*) "Missing Glyph"));
return glyphs_vbox;
}
index 9ce26f80dd0a9bc99d4b6455f05599576a58f575..d478f8d8d738b51e0becd57789ee20d59eb02161 100644 (file)
private:
Gtk::HBox* AttrEntry(gchar* lbl);
+ Gtk::HBox* AttrCombo(gchar* lbl);
+// Gtk::HBox* AttrSpin(gchar* lbl);
Gtk::VBox* global_settings_tab();
Gtk::VBox* kerning_tab();
Gtk::VBox* glyphs_tab();