X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Ftoolbox.h;h=21696abac830d307a44277f2821a5905de2acfae;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=dd26c5cfb1d4346c4c5947ceab3a7124e82f4c92;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/toolbox.h b/synfig-studio/trunk/src/gtkmm/toolbox.h index dd26c5c..21696ab 100644 --- a/synfig-studio/trunk/src/gtkmm/toolbox.h +++ b/synfig-studio/trunk/src/gtkmm/toolbox.h @@ -1,18 +1,22 @@ -/*! ======================================================================== -** Synfig -** Template Header File -** $Id: toolbox.h,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file toolbox.h +** \brief Header File ** -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** $Id$ ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -38,6 +42,11 @@ /* === M A C R O S ========================================================= */ +// uncomment to enable the blend method selector in the tool options +// panel for the circle and gradient tools +// +// #define BLEND_METHOD_IN_TOOL_OPTIONS + /* === T Y P E D E F S ===================================================== */ /* === C L A S S E S & S T R U C T S ======================================= */ @@ -46,37 +55,32 @@ namespace studio { class Dockable; class StateManager; - + class Toolbox : public Gtk::Window { friend class studio::StateManager; - + DialogSettings dialog_settings; Gtk::Tooltips tooltips; Gtk::Button *button_undo; Gtk::Button *button_redo; - Gtk::Button *button_eyedrop; - Gtk::Button *button_rotoscope; - Gtk::Button *button_rotoscope_bline; - Gtk::Button *button_rotoscope_polygon; - Gtk::Table *tool_table; std::map state_button_map; - + Gtk::Menu *recent_files_menu; Gtk::Menu *dock_dialogs; bool changing_state_; - - void on_recent_files_changed(); + + void on_recent_files_changed(); void on_drop_drag_data_received(const Glib::RefPtr& context, int x, int y, const Gtk::SelectionData& selection_data, guint info, guint time); void change_state_(const Smach::state_base *state); - + public: void change_state(const synfig::String& statename); @@ -89,12 +93,12 @@ public: void add_state(const Smach::state_base *state); - + void dockable_registered(Dockable* x); - + Toolbox(); virtual ~Toolbox(); - + }; }; // END of namespace studio