lib/ewl_shadow.h
Go to the documentation of this file.00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */ 00002 #ifndef EWL_SHADOW_H 00003 #define EWL_SHADOW_H 00004 00005 #include "ewl_box.h" 00006 00029 #define EWL_SHADOW_TYPE "shadow" 00030 00035 #define EWL_SHADOW_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_SHADOW_TYPE)) 00036 00040 typedef struct Ewl_Shadow Ewl_Shadow; 00041 00046 #define EWL_SHADOW(shadow) ((Ewl_Shadow *) shadow) 00047 00052 struct Ewl_Shadow 00053 { 00054 Ewl_Box box; 00055 }; 00056 00057 Ewl_Widget *ewl_shadow_new(void); 00058 int ewl_shadow_init(Ewl_Shadow *s); 00059 00064 #endif 00065