Alpha blended png for splash screen?
- From: Dan Korostelev <dan ats energo ru>
- To: gtk-app-devel-list gnome org
- Subject: Alpha blended png for splash screen?
- Date: Fri, 16 Apr 2004 23:21:34 +0400
Hello.
Is there a way to show a PNG splash screen with alpha blending (may be with evil hacks) with GTK 2.4 and XFree86 4.3?
This is the code I wrote:
GtkWidget *abase_create_splash() {
GtkWidget *win;
GtkWidget *image;
win = gtk_window_new(GTK_WINDOW_POPUP);
gtk_window_set_decorated(GTK_WINDOW(win), FALSE);
gtk_window_set_position(GTK_WINDOW (win), GTK_WIN_POS_CENTER_ALWAYS);
image = gtk_image_new_from_file(g_build_filename(PACKAGE_PIXMAPS_DIR, "abase_splash.png", NULL));
gtk_container_add(GTK_CONTAINER(win), image);
return win;
};
==================================================================
Plese, don't send me any attachment in Micro$oft (.DOC, .PPT) format.
Read http://www.fsf.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Please, consider adding this text to Your email signature.
|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]