- fix alpha threshold when rendering flag icons
git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@529 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
parent
4550f36b15
commit
9946798796
@ -1,6 +1,7 @@
|
|||||||
Oct 25, 2003: Ludwig Nussel <l-n@users.sourceforge.net>
|
Oct 25, 2003: Ludwig Nussel <l-n@users.sourceforge.net>
|
||||||
- remove gettext stuff from repository. Instead autogen.sh will run gettextize
|
- remove gettext stuff from repository. Instead autogen.sh will run gettextize
|
||||||
to create the necessary files
|
to create the necessary files
|
||||||
|
- fix alpha threshold when rendering flag icons
|
||||||
|
|
||||||
Oct 23, 2003: Alex <alex_b@users.sourceforge.net>
|
Oct 23, 2003: Alex <alex_b@users.sourceforge.net>
|
||||||
- Replaced French translation with new fr.po from
|
- Replaced French translation with new fr.po from
|
||||||
|
@ -197,7 +197,7 @@ struct pixmap* get_pixmap_for_country(int id)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
gdk_pixbuf_render_pixmap_and_mask(pixbuf,&pix->pix,&pix->mask,0);
|
gdk_pixbuf_render_pixmap_and_mask(pixbuf,&pix->pix,&pix->mask,255);
|
||||||
|
|
||||||
gdk_pixbuf_unref(pixbuf);
|
gdk_pixbuf_unref(pixbuf);
|
||||||
g_free(code);
|
g_free(code);
|
||||||
|
@ -81,7 +81,7 @@ add_pixmap_directory (const gchar *directory)
|
|||||||
|
|
||||||
gchar* find_pixmap_directory(const gchar* filename)
|
gchar* find_pixmap_directory(const gchar* filename)
|
||||||
{
|
{
|
||||||
const gchar* found_filename = NULL;
|
gchar* found_filename = NULL;
|
||||||
GList *elem;
|
GList *elem;
|
||||||
|
|
||||||
elem = pixmaps_directories;
|
elem = pixmaps_directories;
|
||||||
@ -141,7 +141,7 @@ load_pixmap (GtkWidget *widget,
|
|||||||
return create_dummy_pixmap (widget);
|
return create_dummy_pixmap (widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
gdk_pixbuf_render_pixmap_and_mask(pixbuf,&gdkpixmap,&mask,0);
|
gdk_pixbuf_render_pixmap_and_mask(pixbuf,&gdkpixmap,&mask,255);
|
||||||
|
|
||||||
gdk_pixbuf_unref(pixbuf);
|
gdk_pixbuf_unref(pixbuf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user