summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c0ead11)
raw | patch | inline | side by side (parent: c0ead11)
author | JucaBlues <JucaBlues@users.sourceforge.net> | |
Tue, 12 Feb 2008 00:18:24 +0000 (00:18 +0000) | ||
committer | JucaBlues <JucaBlues@users.sourceforge.net> | |
Tue, 12 Feb 2008 00:18:24 +0000 (00:18 +0000) |
index adf5c66f28ea7a33b05393a206c97e15ed40e277..9415ca144bc9c31899190047c3b9d65fb558c741 100644 (file)
" <group id=\"compassangledisplay\" value=\"0\"/>\n"
" <group id=\"maskobject\" topmost=\"1\" remove=\"1\"/>\n"
" <group id=\"blurquality\" value=\"0\"/>\n"
+" <group id=\"showfiltersinfobox\" value=\"1\" />\n"
" <group id=\"startmode\" outline=\"0\"/>\n"
" <group id=\"outlinemode\" value=\"0\"/>\n"
" <group id=\"ocalurl\" str=\"openclipart.org\"/>\n"
index 9856c63b73a208e0f7fcf2b9077cc317dc0c915b..eaf940f5881b3ac96d9883bfdc3fdfceb91861dd 100644 (file)
void FilterEffectsDialog::update_primitive_infobox()
{
+ if (prefs_get_int_attribute ("options.showfiltersinfobox", "value", 1)){
+ _infobox_icon.show();
+ _infobox_desc.show();
+ } else {
+ _infobox_icon.hide();
+ _infobox_desc.hide();
+ }
switch(_add_primitive_type.get_active_data()->id){
case(NR::NR_FILTER_BLEND):
_infobox_icon.set(g_strdup_printf("%s/feBlend-icon.png", INKSCAPE_PIXMAPDIR));
_settings_box.hide_all();
_settings_box.show();
_empty_settings.show();
+
+ if (prefs_get_int_attribute ("options.showfiltersinfobox", "value", 1)){
+ _infobox_icon.show();
+ _infobox_desc.show();
+ } else {
+ _infobox_icon.hide();
+ _infobox_desc.hide();
+ }
SPFilterPrimitive* prim = _primitive_list.get_selected();
index 82f6ddf5b47ce62b6fcd121ffe5a5b00ce1a89b8..1dc693903b2f4fa53c8b208771a8b966a64af397 100644 (file)
_page_filters.add_line( true, "", _blur_quality_worst, "",
_("Lowest quality (considerable artifacts), but display is fastest"));
+ _show_filters_info_box.init( _("Show filter primitives infobox"), "options.showfiltersinfobox", "value", true);
+ _page_filters.add_line(true, "", _show_filters_info_box, "",
+ _("Show icons and descriptions for the filter primitives available at the filter effects dialog."));
+
this->AddPage(_page_filters, _("Filters"), PREFS_PAGE_FILTERS);
}
index c6c17476d9166cc58211db00307ba5d3feb796c6..f0032bff7d472ee0af026b74a8148b57702c12e2 100644 (file)
PrefCheckButton _mask_mask_remove;
PrefRadioButton _blur_quality_best, _blur_quality_better, _blur_quality_normal, _blur_quality_worse, _blur_quality_worst;
+ PrefCheckButton _show_filters_info_box;
PrefCheckButton _trans_scale_stroke, _trans_scale_corner, _trans_gradient,_trans_pattern;
PrefRadioButton _trans_optimized, _trans_preserved;