Enlightenment CVS committal
Author : kwo
Project : misc
Module : engage
Dir : misc/engage/src
Modified Files:
tray.c
Log Message:
Some alternatives. But what is the EFL way?
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/tray.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- tray.c 29 Dec 2004 13:00:06 -0000 1.14
+++ tray.c 31 Dec 2004 00:09:13 -0000 1.15
@@ -179,7 +179,24 @@
tray_container = ecore_x_window_new(od_window, 0, options.height - 48, 96,
48);
ecore_x_window_container_manage(tray_container);
+#if 1 /* Nono */
ecore_x_window_background_color_set(tray_container, 0xcccccc);
+#elif 0 /* ParentRelative */
+ XSetWindowBackgroundPixmap(display, tray_container, ParentRelative);
+#else /* XAlloc...Color */
+ {
+ XColor xc;
+#if 0 /* XAllocColor */
+ xc.red = 0xffff;
+ xc.green = 0;
+ xc.blue = 0xffff;
+ XAllocColor(display, DefaultColormap(display, DefaultScreen(display)),
&xc);
+#else /* XAllocNamedColor */
+ XAllocNamedColor(display, DefaultColormap(display,
DefaultScreen(display)), "Yellow", &xc, &xc);
+#endif
+ ecore_x_window_background_color_set(tray_container, xc.pixel);
+ }
+#endif
ecore_x_window_show(tray_container);
ecore_event_handler_add(ECORE_X_EVENT_CLIENT_MESSAGE, od_tray_msg_cb, NULL);
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs