lib/ewl_separator.h
Go to the documentation of this file.00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */ 00002 #ifndef EWL_SEPARATOR_H 00003 #define EWL_SEPARATOR_H 00004 00029 #define EWL_SEPARATOR_TYPE "separator" 00030 00035 #define EWL_SEPARATOR_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_SEPARATOR_TYPE)) 00036 00041 typedef struct Ewl_Separator Ewl_Separator; 00042 00047 #define EWL_SEPARATOR(separator) ((Ewl_Separator *) separator) 00048 00053 struct Ewl_Separator 00054 { 00055 Ewl_Widget widget; 00056 Ewl_Orientation orientation; 00057 }; 00058 00059 Ewl_Widget *ewl_separator_new(void); 00060 Ewl_Widget *ewl_hseparator_new(void); 00061 Ewl_Widget *ewl_vseparator_new(void); 00062 int ewl_separator_init(Ewl_Separator *s); 00063 void ewl_separator_orientation_set(Ewl_Separator *s, Ewl_Orientation o); 00064 Ewl_Orientation ewl_separator_orientation_get(Ewl_Separator *s); 00065 00070 #endif 00071