source: synfigstudio/trunk/fuentes/src/gui/widgets/widget_defaults.h @ 481

Last change on this file since 481 was 481, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 3.1 KB
Line 
1/* === S Y N F I G ========================================================= */
2/*!     \file widgets/widget_defaults.h
3**      \brief Template Header
4**
5**      $Id$
6**
7**      \legal
8**      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9**
10**      This package is free software; you can redistribute it and/or
11**      modify it under the terms of the GNU General Public License as
12**      published by the Free Software Foundation; either version 2 of
13**      the License, or (at your option) any later version.
14**
15**      This package is distributed in the hope that it will be useful,
16**      but WITHOUT ANY WARRANTY; without even the implied warranty of
17**      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18**      General Public License for more details.
19**      \endlegal
20*/
21/* ========================================================================= */
22
23/* === S T A R T =========================================================== */
24
25#ifndef __SYNFIG_STUDIO_WIDGET_DEFAULTS_H
26#define __SYNFIG_STUDIO_WIDGET_DEFAULTS_H
27
28/* === H E A D E R S ======================================================= */
29
30#include <gtkmm/button.h>
31#include <gtkmm/drawingarea.h>
32#include <gtkmm/entry.h>
33#include <gtkmm/table.h>
34#include <gtkmm/box.h>
35#include <gtkmm/alignment.h>
36#include <synfig/gradient.h>
37#include "widgets/widget_gradient.h"
38#include <gtkmm/tooltip.h>
39
40/* === M A C R O S ========================================================= */
41
42/* === T Y P E D E F S ===================================================== */
43
44/* === C L A S S E S & S T R U C T S ======================================= */
45
46namespace Gtk { class HScale; }
47
48namespace studio {
49
50class Widget_Brush;
51class Widget_Color;
52class Widget_Distance;
53//class Widget_Enum;
54
55class Widget_Defaults : public Gtk::VBox
56{
57        Widget_Color    *_widget_otln_color;
58        //Gtk::Alignment        *widget_otln_color; // Seems to be unused
59
60        Widget_Color    *_widget_fill_color;
61        Gtk::Alignment  *widget_fill_color;
62
63        Gtk::Table      *_widget_colors;
64        Gtk::Alignment  *widget_colors;
65
66        Widget_Gradient *_widget_gradient;
67        Gtk::Alignment  *widget_gradient;
68
69        Gtk::VBox       *widget_colors_gradient;
70
71        Widget_Brush    *_widget_brush;
72        Gtk::Entry      *brush_entry;
73        Gtk::Button     *brush_increase;
74        Gtk::Button     *brush_decrease;
75        Gtk::Alignment  *widget_brush;
76
77        Widget_Distance *widget_bline_width;
78
79        Gtk::VBox       *widget_brush_bline_width;
80
81        //Widget_Enum   *widget_blend_method;
82
83        //Gtk::HScale   *widget_opacity;
84
85        void otln_color_refresh();
86        void fill_color_refresh();
87        void gradient_refresh();
88        void bline_width_refresh();
89
90        void on_bline_width_changed();
91        void on_brush_entry_changed();
92        void on_brush_increase_clicked();
93        void on_brush_decrease_clicked();
94        void on_otln_color_clicked();
95        void on_fill_color_clicked();
96        void on_swap_color_clicked();
97        void on_reset_color_clicked();
98        void on_gradient_clicked();
99
100        //void blend_method_refresh();
101        //void on_blend_method_changed();
102
103        //void opacity_refresh();
104        //void on_opacity_changed();
105
106public:
107
108        Widget_Defaults();
109
110        ~Widget_Defaults();
111
112//      bool redraw(GdkEventExpose*bleh=NULL);
113
114//      bool on_event(GdkEvent *event);
115}; // END of class BlackLevelSelector
116
117}; // END of namespace studio
118
119/* === E N D =============================================================== */
120
121#endif
Note: See TracBrowser for help on using the repository browser.