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 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_Widget * | ewl_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.
#define EWL_OVERLAY_IS | ( | w | ) | (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" |
The type name for the Ewl_Overlay widget
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
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 * | 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.
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.