libgnomeuimm 2.28.0
|
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H 00004 #define _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H 00005 00006 00007 #include <glibmm.h> 00008 00009 /* $Id: druid-page-edge.hg,v 1.2 2002/09/16 13:51:46 murrayc Exp $ */ 00010 00011 00012 /* druid-page-edge.hg 00013 * 00014 * Copyright (C) 1999 The Gtk-- Development Team 00015 * 00016 * This library is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU Lesser General Public 00018 * License as published by the Free Software Foundation; either 00019 * version 2.1 of the License, or (at your option) any later version. 00020 * 00021 * This library is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 * Lesser General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU Lesser General Public 00027 * License along with this library; if not, write to the Free 00028 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00029 */ 00030 00031 #include <libgnomeuimm/druid-page.h> 00032 #include <libgnomeui/gnome-druid-page-edge.h> 00033 00034 00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00036 typedef struct _GnomeDruidPageEdge GnomeDruidPageEdge; 00037 typedef struct _GnomeDruidPageEdgeClass GnomeDruidPageEdgeClass; 00038 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00039 00040 00041 namespace Gnome 00042 { 00043 00044 namespace UI 00045 { class DruidPageEdge_Class; } // namespace UI 00046 00047 } // namespace Gnome 00048 namespace Gnome 00049 { 00050 00051 namespace UI 00052 { 00053 00059 enum EdgePosition 00060 { 00061 EDGE_START, 00062 EDGE_FINISH, 00063 EDGE_OTHER, 00064 EDGE_LAST 00065 }; 00066 00067 } // namespace UI 00068 00069 } // namespace Gnome 00070 00071 00072 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00073 namespace Glib 00074 { 00075 00076 template <> 00077 class Value<Gnome::UI::EdgePosition> : public Glib::Value_Enum<Gnome::UI::EdgePosition> 00078 { 00079 public: 00080 static GType value_type() G_GNUC_CONST; 00081 }; 00082 00083 } // namespace Glib 00084 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00085 00086 00087 namespace Gnome 00088 { 00089 00090 namespace UI 00091 { 00092 00093 00094 class DruidPageEdge : public DruidPage 00095 { 00096 public: 00097 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00098 typedef DruidPageEdge CppObjectType; 00099 typedef DruidPageEdge_Class CppClassType; 00100 typedef GnomeDruidPageEdge BaseObjectType; 00101 typedef GnomeDruidPageEdgeClass BaseClassType; 00102 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00103 00104 virtual ~DruidPageEdge(); 00105 00106 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00107 00108 private: 00109 friend class DruidPageEdge_Class; 00110 static CppClassType druidpageedge_class_; 00111 00112 // noncopyable 00113 DruidPageEdge(const DruidPageEdge&); 00114 DruidPageEdge& operator=(const DruidPageEdge&); 00115 00116 protected: 00117 explicit DruidPageEdge(const Glib::ConstructParams& construct_params); 00118 explicit DruidPageEdge(GnomeDruidPageEdge* castitem); 00119 00120 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00121 00122 public: 00123 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00124 static GType get_type() G_GNUC_CONST; 00125 00126 00127 static GType get_base_type() G_GNUC_CONST; 00128 #endif 00129 00131 GnomeDruidPageEdge* gobj() { return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); } 00132 00134 const GnomeDruidPageEdge* gobj() const { return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); } 00135 00136 00137 public: 00138 //C++ methods used to invoke GTK+ virtual functions: 00139 #ifdef GLIBMM_VFUNCS_ENABLED 00140 #endif //GLIBMM_VFUNCS_ENABLED 00141 00142 protected: 00143 //GTK+ Virtual Functions (override these to change behaviour): 00144 #ifdef GLIBMM_VFUNCS_ENABLED 00145 #endif //GLIBMM_VFUNCS_ENABLED 00146 00147 //Default Signal Handlers:: 00148 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00149 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00150 00151 00152 private: 00153 00154 00155 public: 00156 00157 explicit DruidPageEdge(EdgePosition position = EDGE_START, bool antialiased = true); 00158 DruidPageEdge(EdgePosition position, const Glib::ustring& title, const Glib::ustring& text, bool antialiased = true); 00159 DruidPageEdge(EdgePosition position, const Glib::ustring& title, const Glib::ustring& text, 00160 const Glib::RefPtr<Gdk::Pixbuf>& logo, const Glib::RefPtr<Gdk::Pixbuf>& watermark, const Glib::RefPtr<Gdk::Pixbuf>& top_watermark, 00161 bool antialiased = true); 00162 00163 00164 void set_bg_color(const Gdk::Color& color); 00165 00166 void set_textbox_color(const Gdk::Color& color); 00167 00168 void set_logo_bg_color(const Gdk::Color& color); 00169 00170 void set_title_color(const Gdk::Color& color); 00171 00172 void set_text_color(const Gdk::Color& color); 00173 00174 void set_text(const Glib::ustring& text); 00175 00176 void set_title(const Glib::ustring& title); 00177 00178 void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image); 00179 00180 void set_watermark(const Glib::RefPtr<Gdk::Pixbuf>& watermark); 00181 00182 void set_top_watermark(const Glib::RefPtr<Gdk::Pixbuf>& top_watermark); 00183 00184 00185 }; 00186 00187 } /* namespace UI */ 00188 } /* namespace Gnome */ 00189 00190 00191 namespace Glib 00192 { 00201 Gnome::UI::DruidPageEdge* wrap(GnomeDruidPageEdge* object, bool take_copy = false); 00202 } //namespace Glib 00203 00204 00205 #endif /* _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H */ 00206