Guifications - The notification plugin to end all notification plugins! Copyright (C) 2003 Gary Kramlich This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <gdk-pixbuf/gdk-pixbuf.h> /*********************************************************************** **********************************************************************/ return g_build_filename(DATADIR, "pixmaps", "gaim", "guifications", NULL); /*********************************************************************** **********************************************************************/ get_def_background_image() { ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "backgrounds", "background_default.png", NULL), NULL); get_text_clipping_image(gf_text_clipping clipping) { case text_clipping_elipse_start: ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "text_clipping_elipse_start.png", NULL), NULL); case text_clipping_elipse_middle: ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "text_clipping_elipse_middle.png", NULL), NULL); case text_clipping_elipse_end: ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "text_clipping_elipse_end.png", NULL), NULL); case text_clipping_truncate: ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "text_clipping_truncate.png", NULL), NULL); get_item_position_image(gf_item_position position) { ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_north_west.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_north.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_north_east.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_west.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_center.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_east.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_south_west.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_south.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "item_position_south_east.png", NULL), NULL); get_icon_size_image(gf_icon_size size) { ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "icon_size_huge.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "icon_size_large.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "icon_size_normal.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "icon_size_small.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "icon_size_tiny.png", NULL), NULL); get_window_position_image(gf_window_position position) { ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "window_position_north_west.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "window_position_north_east.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "window_position_south_west.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "window_position_south_east.png", NULL), NULL); get_window_zoom_image(gf_window_zoom zoom) { ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "window_zoom_in.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "window_zoom_normal.png", NULL), NULL); ret = gdk_pixbuf_new_from_file(g_build_filename(gf_get_image_dir(), "conf", "window_zoom_out.png", NULL), NULL);