Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_spectrum.c ewl_spectrum.h 


Log Message:
don't inherit from overlay, but from container. 
the overlay doesn't do anything we need for the spectrum


===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_spectrum.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- ewl_spectrum.c      2 Apr 2007 19:35:11 -0000       1.36
+++ ewl_spectrum.c      10 Apr 2007 22:52:02 -0000      1.37
@@ -72,7 +72,7 @@
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("sp", sp, FALSE);
 
-       if (!ewl_overlay_init(EWL_OVERLAY(sp)))
+       if (!ewl_container_init(EWL_CONTAINER(sp)))
        {
                DRETURN_INT(FALSE, DLEVEL_STABLE);
        }
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_spectrum.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ewl_spectrum.h      4 Mar 2007 00:52:01 -0000       1.19
+++ ewl_spectrum.h      10 Apr 2007 22:52:02 -0000      1.20
@@ -6,7 +6,7 @@
  * @addtogroup Ewl_Spectrum Ewl_Spectrum: The colour spectrum widget
  * Defines a colour spectrum widget
  *
- * @remarks Inherits from Ewl_Overlay.
+ * @remarks Inherits from Ewl_Container.
  * @image html Ewl_Spectrum_inheritance.png
  *
  * @{
@@ -36,11 +36,11 @@
 typedef struct Ewl_Spectrum Ewl_Spectrum;
 
 /**
- * @brief Inherits from Ewl_Overlay and extends to provide a colour spectrum 
+ * @brief Inherits from Ewl_Container and extends to provide a colour spectrum 
  */
 struct Ewl_Spectrum 
 {
-       Ewl_Overlay overlay;            /**< Inherit from Ewl_Overlay */
+       Ewl_Container container;        /**< Inherit from Ewl_Container */
        Ewl_Widget *canvas;             /**< The canvas to draw on */
        
        struct 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to