Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h buttons.c iclass.c
Log Message:
Make buttons opaque (button transparency handling is missing).
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -3 -r1.286 -r1.287
--- E.h 19 Jun 2004 01:31:19 -0000 1.286
+++ E.h 26 Jun 2004 17:33:39 -0000 1.287
@@ -77,6 +77,7 @@
#define ST_HILIGHT 8
#define ST_PAGER 9
#define ST_WARPLIST 10
+#define ST_BUTTON 11
#define ICLASS_ATTR_OPAQUE 0 /* No transparency */
#define ICLASS_ATTR_BG 1 /* Background transparency */
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/buttons.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- buttons.c 3 Jun 2004 18:04:44 -0000 1.34
+++ buttons.c 26 Jun 2004 17:33:40 -0000 1.35
@@ -303,7 +303,7 @@
{
EDBUG(3, "ButtonDraw");
- IclassApply(b->iclass, b->win, b->w, b->h, 0, 0, b->state, 0, ST_BORDER);
+ IclassApply(b->iclass, b->win, b->w, b->h, 0, 0, b->state, 0, ST_BUTTON);
if (b->label)
TclassApply(b->iclass, b->win, b->w, b->h, 0, 0, b->state, 0, b->tclass,
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/iclass.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- iclass.c 18 Jun 2004 22:21:35 -0000 1.40
+++ iclass.c 26 Jun 2004 17:33:40 -0000 1.41
@@ -404,6 +404,7 @@
{
default:
case ST_UNKNWN:
+ case ST_BUTTON:
flags = ICLASS_ATTR_OPAQUE;
break;
case ST_BORDER:
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs