1 /* === S I N F G =========================================================== */
3 ** \brief Template Header
5 ** $Id: iconcontroler.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_ICONCONTROLER_H
25 #define __SINFG_STUDIO_ICONCONTROLER_H
27 /* === H E A D E R S ======================================================= */
29 #include <gtkmm/stock.h>
30 #include <gtkmm/iconfactory.h>
31 #include <gtkmm/iconset.h>
32 #include <gdkmm/cursor.h>
34 #include <sinfg/value.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 sinfg { class ValueNode; class Layer; }
44 namespace sinfgapp { namespace Action { class BookEntry; };};
51 Glib::RefPtr<Gtk::IconFactory> icon_factory;
53 IconControler(const sinfg::String& basepath);
56 static Gdk::Cursor get_normal_cursor();
57 static Gdk::Cursor get_tool_cursor(const Glib::ustring& name,const Glib::RefPtr<Gdk::Window>& window);
60 Gtk::StockID layer_icon(const sinfg::String &layer);
61 Glib::RefPtr<Gdk::Pixbuf> get_tree_pixbuf_layer(const sinfg::String &layer);
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);
68 }; // END of namespace studio
70 /* === E N D =============================================================== */