Download

Support

lib/ewl_overlay.h

Go to the documentation of this file.
00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */
00002 #ifndef EWL_OVERLAY_H
00003 #define EWL_OVERLAY_H
00004 
00027 #define EWL_OVERLAY_TYPE "overlay"
00028 
00033 #define EWL_OVERLAY_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_OVERLAY_TYPE))
00034 
00039 typedef struct Ewl_Overlay Ewl_Overlay;
00040 
00045 #define EWL_OVERLAY(widget) ((Ewl_Overlay *) widget)
00046 
00051 struct Ewl_Overlay
00052 {
00053         Ewl_Container   container; 
00054 };
00055 
00056 Ewl_Widget         *ewl_overlay_new(void);
00057 int                  ewl_overlay_init(Ewl_Overlay *win);
00058 
00059 /*
00060  * Internally used callbacks, override at your own risk.
00061  */
00062 void ewl_overlay_cb_configure(Ewl_Widget *w, void *ev_data, void *user_data);
00063 
00064 void ewl_overlay_cb_child_show(Ewl_Container *emb, Ewl_Widget *child);
00065 void ewl_overlay_cb_child_resize(Ewl_Container *c, Ewl_Widget *w, int size,
00066                                Ewl_Orientation o);
00067 
00072 #endif

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:06 2008