1 /* === S I N F G =========================================================== */
2 /*! \file dock_layers.h
3 ** \brief Template Header
5 ** $Id: dock_layers.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_STUDIO_DOCK_LAYERS_H
25 #define __SINFG_STUDIO_DOCK_LAYERS_H
27 /* === H E A D E R S ======================================================= */
30 #include <gtkmm/treeview.h>
32 #include "dock_canvasspecific.h"
33 #include <gtkmm/actiongroup.h>
36 /* === M A C R O S ========================================================= */
38 /* === T Y P E D E F S ===================================================== */
40 /* === C L A S S E S & S T R U C T S ======================================= */
42 namespace Gtk { class HScale; }
46 class LayerActionManager;
48 class Dock_Layers : public Dock_CanvasSpecific
50 Glib::RefPtr<Gtk::ActionGroup> action_group_new_layers;
51 Glib::RefPtr<Gtk::ActionGroup> action_group_layer_ops;
53 Gtk::HScale *layer_amount_hscale;
55 LayerActionManager* layer_action_manager;
58 virtual void init_canvas_view_vfunc(etl::loose_handle<CanvasView> canvas_view);
59 virtual void changed_canvas_view_vfunc(etl::loose_handle<CanvasView> canvas_view);
63 void add_layer(sinfg::String id);
64 void increase_amount();
65 void decrease_amount();
72 }; // END of Dock_Layers
74 }; // END of namespace studio
76 /* === E N D =============================================================== */