Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h buttons.c 


Log Message:
Cleanups.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.424
retrieving revision 1.425
diff -u -3 -r1.424 -r1.425
--- E.h 8 May 2005 16:01:23 -0000       1.424
+++ E.h 12 May 2005 16:53:46 -0000      1.425
@@ -1323,9 +1323,6 @@
 int                 ButtonGetHeight(const Button * b);
 int                 ButtonIsFixed(const Button * b);
 int                 ButtonIsInternal(const Button * b);
-int                 ButtonIsAbove(const Button * b, int desk);
-int                 ButtonIsNormal(const Button * b, int desk);
-int                 ButtonIsBelow(const Button * b, int desk);
 int                 ButtonDoShowDefault(const Button * b);
 int                 ButtonEmbedWindow(Button * ButtonToUse,
                                      Window WindowToEmbed);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/buttons.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- buttons.c   1 May 2005 22:26:02 -0000       1.62
+++ buttons.c   12 May 2005 16:53:47 -0000      1.63
@@ -55,7 +55,6 @@
    int                 state;
    Window              inside_win;
    Window              event_win;
-   char                destroy_inside_win;
    char                left;
    unsigned int        ref_count;
 };
@@ -121,7 +120,6 @@
    b->geom.size_from_image = simg;
    b->inside_win = 0;
    b->event_win = 0;
-   b->destroy_inside_win = 0;
    b->internal = 0;
    b->default_show = 1;
    b->used = 0;
@@ -430,24 +428,6 @@
 }
 
 int
-ButtonIsAbove(const Button * b, int desk)
-{
-   return !b->internal && EoGetDesk(b) == desk && EoGetLayer(b) > 0;
-}
-
-int
-ButtonIsNormal(const Button * b, int desk)
-{
-   return !b->internal && EoGetDesk(b) == desk && EoGetLayer(b) == 0;
-}
-
-int
-ButtonIsBelow(const Button * b, int desk)
-{
-   return !b->internal && EoGetDesk(b) == desk && EoGetLayer(b) < 0;
-}
-
-int
 ButtonDoShowDefault(const Button * b)
 {
    return !b->internal && b->default_show;




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to