/* gnome-druid-page-standard.h * Copyright (C) 1999 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef __GNOME_DRUID_PAGE_STANDARD_H__ #define __GNOME_DRUID_PAGE_STANDARD_H__ #include #include #include "gnome-canvas.h" #include "gnome-druid-page.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define GNOME_TYPE_DRUID_PAGE_STANDARD (gnome_druid_page_standard_get_type ()) #define GNOME_DRUID_PAGE_STANDARD(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD, GnomeDruidPageStandard)) #define GNOME_DRUID_PAGE_STANDARD_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_STANDARD, GnomeDruidPageStandardClass)) #define GNOME_IS_DRUID_PAGE_STANDARD(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD)) #define GNOME_IS_DRUID_PAGE_STANDARD_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD)) typedef struct _GnomeDruidPageStandard GnomeDruidPageStandard; typedef struct _GnomeDruidPageStandardClass GnomeDruidPageStandardClass; struct _GnomeDruidPageStandard { GnomeDruidPage parent; GtkWidget *vbox; GdkColor background_color; GdkColor logo_background_color; GdkColor title_color; GdkImlibImage *logo_image; gchar *title; /*< private >*/ GtkWidget *canvas; GtkWidget *side_bar; GnomeCanvasItem *logoframe_item; GnomeCanvasItem *logo_item; GnomeCanvasItem *title_item; GnomeCanvasItem *background_item; }; struct _GnomeDruidPageStandardClass { GnomeDruidPageClass parent_class; }; GtkType gnome_druid_page_standard_get_type (void); GtkWidget *gnome_druid_page_standard_new (void); GtkWidget *gnome_druid_page_standard_new_with_vals (gchar *title, GdkImlibImage *logo); void gnome_druid_page_standard_set_bg_color (GnomeDruidPageStandard *druid_page_standard, GdkColor *color); void gnome_druid_page_standard_set_logo_bg_color (GnomeDruidPageStandard *druid_page_standard, GdkColor *color); void gnome_druid_page_standard_set_title_color (GnomeDruidPageStandard *druid_page_standard, GdkColor *color); void gnome_druid_page_standard_set_title (GnomeDruidPageStandard *druid_page_standard, gchar *title); void gnome_druid_page_standard_set_logo (GnomeDruidPageStandard *druid_page_standard, GdkImlibImage *logo_image); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __GNOME_DRUID_PAGE_STANDARD_H__ */