summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 235e8e7)
raw | patch | inline | side by side (parent: 235e8e7)
author | mental <mental@users.sourceforge.net> | |
Thu, 17 Jul 2008 23:43:18 +0000 (23:43 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Thu, 17 Jul 2008 23:43:18 +0000 (23:43 +0000) |
src/ui/dialog/filter-effects-dialog.cpp | patch | blob | history | |
src/ui/dialog/filter-effects-dialog.h | patch | blob | history |
index 2cec40860dda09e9312b7f152401fec99a7503e4..836eb8fd4918f08b108a005772f76ac0bc6df867 100644 (file)
FilterEffectsDialog::FilterEffectsDialog()
: UI::Widget::Panel("", "dialogs.filtereffects", SP_VERB_DIALOG_FILTER_EFFECTS),
- _filter_modifier(*this),
- _primitive_list(*this),
_add_primitive_type(FPConverter),
_add_primitive(_("Add Effect:")),
_empty_settings(_("No effect selected"), Gtk::ALIGN_LEFT),
_no_filter_selected(_("No filter selected"), Gtk::ALIGN_LEFT),
_settings_initialized(false),
_locked(false),
- _attr_lock(false)
+ _attr_lock(false),
+ _filter_modifier(*this),
+ _primitive_list(*this)
{
_settings = new Settings(*this, _settings_tab1, sigc::mem_fun(*this, &FilterEffectsDialog::set_attr_direct),
NR_FILTER_ENDPRIMITIVETYPE);
index 16d684dd48be4d21a21f392e3268576af51b7557..9e39de2bb4149b5b0b4da9898bd9c07671adc3d8 100644 (file)
void update_color_matrix();
void update_primitive_infobox();
- // Filter effect selection
- FilterModifier _filter_modifier;
-
// Primitives Info Box
Gtk::Label _infobox_desc;
Gtk::Image _infobox_icon;
// View/add primitives
Gtk::VBox _primitive_box;
- PrimitiveList _primitive_list;
UI::Widget::ComboBoxEnum<NR::FilterPrimitiveType> _add_primitive_type;
Gtk::Button _add_primitive;
bool _locked;
bool _attr_lock;
+ // These go last since they depend on the prior initialization of
+ // other FilterEffectsDialog members
+ FilterModifier _filter_modifier;
+ PrimitiveList _primitive_list;
+
FilterEffectsDialog(FilterEffectsDialog const &d);
FilterEffectsDialog& operator=(FilterEffectsDialog const &d);
};