object-composite-settings.h revision 17eb9e57e1550f744916bf486947162aa523bdda
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#ifndef SEEN_UI_WIDGET_OBJECT_COMPOSITE_SETTINGS_H
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#define SEEN_UI_WIDGET_OBJECT_COMPOSITE_SETTINGS_H
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental/*
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental * A widget for controlling object compositing (filter, opacity, etc.)
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental *
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental * Authors:
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental * Bryce W. Harrington <bryce@bryceharrington.org>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental * Gustav Broberg <broberg@kth.se>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental *
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental * Copyright (C) 2004--2007 Authors
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental *
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental * Released under GNU GPL, read the file 'COPYING' for more information
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental */
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#include <gtkmm/box.h>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#include <gtkmm/alignment.h>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#include <gtkmm/adjustment.h>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#include <gtkmm/label.h>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#include <gtkmm/spinbutton.h>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#include <gtkmm/scale.h>
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#include "ui/widget/filter-effect-chooser.h"
ad83b521a557c8a2d91c469f74137ca4ff4ab2d1mental#include "ui/widget/style-subject.h"
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mentalnamespace Inkscape {
526c8bf9bb41b582dc49f54ac192705de9e2edf2mentalnamespace UI {
526c8bf9bb41b582dc49f54ac192705de9e2edf2mentalnamespace Widget {
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mentalclass ObjectCompositeSettings : public Gtk::VBox {
526c8bf9bb41b582dc49f54ac192705de9e2edf2mentalpublic:
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental ObjectCompositeSettings();
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental ~ObjectCompositeSettings();
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
17eb9e57e1550f744916bf486947162aa523bddamental void setSubject(StyleSubject *subject);
17eb9e57e1550f744916bf486947162aa523bddamental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mentalprivate:
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::VBox _opacity_vbox;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::HBox _opacity_label_box;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::HBox _opacity_hbox;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::Label _opacity_label;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::Adjustment _opacity_adjustment;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::HScale _opacity_hscale;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::SpinButton _opacity_spin_button;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
17eb9e57e1550f744916bf486947162aa523bddamental StyleSubject *_subject;
ad83b521a557c8a2d91c469f74137ca4ff4ab2d1mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental SimpleFilterModifier _fe_cb;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::VBox _fe_vbox;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Gtk::Alignment _fe_alignment;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
ad83b521a557c8a2d91c469f74137ca4ff4ab2d1mental static void _on_desktop_switch(Inkscape::Application *application, SPDesktop *desktop, ObjectCompositeSettings *w);
ad83b521a557c8a2d91c469f74137ca4ff4ab2d1mental void _subjectChanged();
17eb9e57e1550f744916bf486947162aa523bddamental sigc::connection _subject_changed;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental void _blendBlurValueChanged();
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental void _opacityValueChanged();
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental bool _blocked;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental gulong _desktop_activated;
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental};
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental}
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental}
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental}
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental#endif
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental/*
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental Local Variables:
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental mode:c++
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental c-file-style:"stroustrup"
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental indent-tabs-mode:nil
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental fill-column:99
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental End:
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental*/
526c8bf9bb41b582dc49f54ac192705de9e2edf2mental// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :