00001
00002
00003
#ifndef _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H
00004
#define _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H
00005
00006
#include <glibmm.h>
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
#include <libgnomeuimm/druid-page.h>
00031
#include <libgnomeui/gnome-druid-page-edge.h>
00032
00033
00034
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00035
typedef struct _GnomeDruidPageEdge GnomeDruidPageEdge;
00036
typedef struct _GnomeDruidPageEdgeClass GnomeDruidPageEdgeClass;
00037
#endif
00038
00039
00040
namespace Gnome
00041 {
00042
00043
namespace UI
00044 {
class DruidPageEdge_Class; }
00045
00046 }
00047
namespace Gnome
00048 {
00049
00050
namespace UI
00051 {
00052
00058 enum EdgePosition
00059 {
00060 EDGE_START,
00061 EDGE_FINISH,
00062 EDGE_OTHER,
00063 EDGE_LAST
00064 };
00065
00066 }
00067
00068 }
00069
00070
00071
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00072
namespace Glib
00073 {
00074
00075
template <>
00076
class Value<Gnome::UI::
EdgePosition> :
public Glib::Value_Enum<Gnome::UI::EdgePosition>
00077 {
00078
public:
00079
static GType value_type() G_GNUC_CONST;
00080 };
00081
00082 }
00083 #endif
00084
00085
00086 namespace Gnome
00087 {
00088
00089
namespace UI
00090 {
00091
00092
00093 class DruidPageEdge :
public DruidPage
00094 {
00095
public:
00096
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00097
typedef DruidPageEdge CppObjectType;
00098
typedef DruidPageEdge_Class CppClassType;
00099
typedef GnomeDruidPageEdge BaseObjectType;
00100
typedef GnomeDruidPageEdgeClass BaseClassType;
00101
#endif
00102
00103
virtual ~
DruidPageEdge();
00104
00105
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00106
00107
private:
00108
friend class DruidPageEdge_Class;
00109
static CppClassType druidpageedge_class_;
00110
00111
00112
DruidPageEdge(
const DruidPageEdge&);
00113
DruidPageEdge& operator=(
const DruidPageEdge&);
00114
00115
protected:
00116
explicit DruidPageEdge(
const Glib::ConstructParams& construct_params);
00117
explicit DruidPageEdge(GnomeDruidPageEdge* castitem);
00118
00119
#endif
00120
00121
public:
00122
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00123
static GType get_type() G_GNUC_CONST;
00124
static GType get_base_type() G_GNUC_CONST;
00125
#endif
00126
00128 GnomeDruidPageEdge* gobj() {
return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); }
00129
00131 const GnomeDruidPageEdge* gobj()
const {
return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); }
00132
00133
00134
public:
00135
00136
00137
protected:
00138
00139
00140
00141
00142
00143
private:
00144
00145
00146
public:
00147
00148
explicit DruidPageEdge(EdgePosition position = EDGE_START,
bool antialiased =
true);
00149
DruidPageEdge(EdgePosition position,
const Glib::ustring& title,
const Glib::ustring& text,
bool antialiased =
true);
00150
DruidPageEdge(EdgePosition position,
const Glib::ustring& title,
const Glib::ustring& text,
00151
const Glib::RefPtr<Gdk::Pixbuf>& logo,
const Glib::RefPtr<Gdk::Pixbuf>& watermark,
const Glib::RefPtr<Gdk::Pixbuf>& top_watermark,
00152
bool antialiased =
true);
00153
00154
00155
void set_bg_color(
const Gdk::Color& color);
00156
00157
void set_textbox_color(
const Gdk::Color& color);
00158
00159
void set_logo_bg_color(
const Gdk::Color& color);
00160
00161
void set_title_color(
const Gdk::Color& color);
00162
00163
void set_text_color(
const Gdk::Color& color);
00164
00165
void set_text(
const Glib::ustring& text);
00166
00167
void set_title(
const Glib::ustring& title);
00168
00169
void set_logo(
const Glib::RefPtr<Gdk::Pixbuf>& logo_image);
00170
00171
void set_watermark(
const Glib::RefPtr<Gdk::Pixbuf>& watermark);
00172
00173
void set_top_watermark(
const Glib::RefPtr<Gdk::Pixbuf>& top_watermark);
00174
00175
00176 };
00177
00178 }
00179 }
00180
00181
00182
namespace Glib
00183 {
00189
Gnome::UI::DruidPageEdge* wrap(GnomeDruidPageEdge* object,
bool take_copy =
false);
00190 }
00191
#endif
00192