Changed the "tagrelease" and "tagstable" make targets to use subversion. Also increme...
[synfig.git] / synfig-studio / tags / stable / src / gtkmm / iconcontroler.h
1 /* === S I N F G =========================================================== */
2 /*!     \file template.h
3 **      \brief Template Header
4 **
5 **      $Id: iconcontroler.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
6 **
7 **      \legal
8 **      Copyright (c) 2002 Robert B. Quattlebaum Jr.
9 **
10 **      This software and associated documentation
11 **      are CONFIDENTIAL and PROPRIETARY property of
12 **      the above-mentioned copyright holder.
13 **
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.
18 **      \endlegal
19 */
20 /* ========================================================================= */
21
22 /* === S T A R T =========================================================== */
23
24 #ifndef __SINFG_STUDIO_ICONCONTROLER_H
25 #define __SINFG_STUDIO_ICONCONTROLER_H
26
27 /* === H E A D E R S ======================================================= */
28
29 #include <gtkmm/stock.h>
30 #include <gtkmm/iconfactory.h>
31 #include <gtkmm/iconset.h>
32 #include <gdkmm/cursor.h>
33
34 #include <sinfg/value.h>
35
36 /* === M A C R O S ========================================================= */
37
38 /* === T Y P E D E F S ===================================================== */
39
40 /* === C L A S S E S & S T R U C T S ======================================= */
41
42 namespace sinfg { class ValueNode; class Layer; }
43
44 namespace sinfgapp { namespace Action { class BookEntry; };};
45
46 namespace studio {
47
48
49 class IconControler
50 {
51         Glib::RefPtr<Gtk::IconFactory> icon_factory;
52 public:
53         IconControler(const sinfg::String& basepath);
54         ~IconControler();
55
56         static Gdk::Cursor get_normal_cursor();
57         static Gdk::Cursor get_tool_cursor(const Glib::ustring& name,const Glib::RefPtr<Gdk::Window>& window);
58 };
59
60 Gtk::StockID layer_icon(const sinfg::String &layer);
61 Glib::RefPtr<Gdk::Pixbuf> get_tree_pixbuf_layer(const sinfg::String &layer);
62
63 Gtk::StockID value_icon(sinfg::ValueBase::Type type);
64 Gtk::StockID valuenode_icon(etl::handle<sinfg::ValueNode> value_node);
65 Glib::RefPtr<Gdk::Pixbuf> get_tree_pixbuf(sinfg::ValueBase::Type type);
66 Gtk::StockID get_action_stock_id(const sinfgapp::Action::BookEntry& action);
67
68 }; // END of namespace studio
69
70 /* === E N D =============================================================== */
71
72 #endif