Download

Support

Ewl_Overlay: A Container for Displaying on a canvas


Detailed Description

Defines the Ewl_Overlay class to provide EWL with the ability to work with an evas.

Remarks:
Inherits from Ewl_Container.


Data Structures

struct  Ewl_Overlay
 The class inheriting from Ewl_Container that acts as a top level widget for interacting with the evas. More...

Defines

#define EWL_OVERLAY(widget)   ((Ewl_Overlay *) widget)
 Typecast a pointer to an Ewl_Overlay pointer.
#define EWL_OVERLAY_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_OVERLAY_TYPE))
#define EWL_OVERLAY_TYPE   "overlay"

Typedefs

typedef struct Ewl_Overlay Ewl_Overlay

Functions

void ewl_overlay_cb_child_resize (Ewl_Container *c, Ewl_Widget *w, int size, Ewl_Orientation o)
void ewl_overlay_cb_child_show (Ewl_Container *emb, Ewl_Widget *child)
void ewl_overlay_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data)
int ewl_overlay_init (Ewl_Overlay *win)
 initialize a overlay to default values and callbacks
Ewl_Widgetewl_overlay_new (void)
 Allocate and initialize a new overlay container.

Define Documentation

#define EWL_OVERLAY ( widget   )     ((Ewl_Overlay *) widget)

Typecast a pointer to an Ewl_Overlay pointer.

Referenced by ewl_overlay_cb_child_resize().

#define EWL_OVERLAY_IS (  )     (ewl_widget_type_is(EWL_WIDGET(w), EWL_OVERLAY_TYPE))

Returns TRUE if the widget is an Ewl_Overlay, FALSE otherwise

#define EWL_OVERLAY_TYPE   "overlay"


Typedef Documentation

typedef struct Ewl_Overlay Ewl_Overlay

The overlay structure is mostly a container for holding widgets and a wrapper evas smart object.


Function Documentation

int ewl_overlay_init ( Ewl_Overlay w  ) 

initialize a overlay to default values and callbacks

Parameters:
w,: the overlay to be initialized to default values and callbacks
Returns:
Returns TRUE or FALSE depending on if initialization succeeds. Sets the values and callbacks of a overlay w to their defaults.

References DCHECK_PARAM_PTR_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, EWL_CALLBACK_CONFIGURE, ewl_callback_prepend(), EWL_CONTAINER, ewl_container_init(), ewl_container_resize_notify_set(), ewl_container_show_notify_set(), EWL_FLAG_FILL_NONE, EWL_OBJECT, ewl_object_fill_policy_set(), ewl_overlay_cb_child_resize(), ewl_overlay_cb_child_show(), ewl_overlay_cb_configure(), EWL_OVERLAY_TYPE, EWL_WIDGET, ewl_widget_appearance_set(), and ewl_widget_inherit().

Referenced by ewl_overlay_new().

Ewl_Widget* ewl_overlay_new ( void   ) 

Allocate and initialize a new overlay container.

Returns:
Returns a new overlay container on success, or NULL on failure.

References DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, ewl_overlay_init(), EWL_WIDGET, ewl_widget_destroy(), and NEW.

Referenced by ewl_scrollpane_init().


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:51:10 2008