mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2001-12-11 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/druid-utils.[ch]: added gnc_druid_set_logo_image. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6314 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
82fe4e6a78
commit
c8e93d5e4f
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-11 Christian Stimming <stimming@tuhh.de>
|
||||||
|
|
||||||
|
* src/gnome-utils/druid-utils.[ch]: added
|
||||||
|
gnc_druid_set_logo_image.
|
||||||
|
|
||||||
2001-12-10 Dave Peticolas <dave@krondo.com>
|
2001-12-10 Dave Peticolas <dave@krondo.com>
|
||||||
|
|
||||||
* src/scm/main.scm: handle welcome report gui here
|
* src/scm/main.scm: handle welcome report gui here
|
||||||
|
@ -91,6 +91,31 @@ gnc_druid_set_title_image (GnomeDruid *druid, char *image_path)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
gnc_druid_set_logo_image (GnomeDruid *druid, char *image_path)
|
||||||
|
{
|
||||||
|
GdkImlibImage *image;
|
||||||
|
GList *pages = GNOME_DRUID(druid)->children;
|
||||||
|
|
||||||
|
while(pages != NULL) {
|
||||||
|
|
||||||
|
image = gnc_get_gdk_imlib_image(image_path);
|
||||||
|
|
||||||
|
if (g_list_previous(pages) == NULL) {
|
||||||
|
gnome_druid_page_start_set_logo
|
||||||
|
(GNOME_DRUID_PAGE_START(pages->data), image);
|
||||||
|
} else if (g_list_next(pages) == NULL) {
|
||||||
|
gnome_druid_page_finish_set_logo
|
||||||
|
(GNOME_DRUID_PAGE_FINISH(pages->data), image);
|
||||||
|
} else {
|
||||||
|
gnome_druid_page_standard_set_logo
|
||||||
|
(GNOME_DRUID_PAGE_STANDARD(pages->data), image);
|
||||||
|
}
|
||||||
|
|
||||||
|
pages = g_list_next(pages);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gnc_druid_set_colors (GnomeDruid *druid)
|
gnc_druid_set_colors (GnomeDruid *druid)
|
||||||
{
|
{
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <gnome.h>
|
#include <gnome.h>
|
||||||
|
|
||||||
void gnc_druid_set_title_image (GnomeDruid *druid, char *image_path);
|
void gnc_druid_set_title_image (GnomeDruid *druid, char *image_path);
|
||||||
|
void gnc_druid_set_logo_image (GnomeDruid *druid, char *image_path);
|
||||||
void gnc_druid_set_watermark_image (GnomeDruid *druid, char *image_path);
|
void gnc_druid_set_watermark_image (GnomeDruid *druid, char *image_path);
|
||||||
|
|
||||||
void gnc_druid_set_colors (GnomeDruid *druid);
|
void gnc_druid_set_colors (GnomeDruid *druid);
|
||||||
|
Loading…
Reference in New Issue
Block a user