From 0d6c792f8fbad35dc75c2cac59a5b792c0f00eca Mon Sep 17 00:00:00 2001 From: Andreas Volz Date: Sat, 3 Jan 2009 21:56:40 +0000 Subject: [PATCH] added some TODOs for EtkBox SVN revision: 38444 --- src/etk/eflpp_etk.cpp | 2 ++ src/etk/eflpp_etkbox.h | 25 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/src/etk/eflpp_etk.cpp b/src/etk/eflpp_etk.cpp index a916234..05e6e3c 100644 --- a/src/etk/eflpp_etk.cpp +++ b/src/etk/eflpp_etk.cpp @@ -53,6 +53,7 @@ EvasEtk::~EvasEtk() EtkHBox::EtkHBox( EtkObject* parent, const char* type, const char* name ) :EtkBox( parent, type, name ) { + //Etk_Widget *etk_hbox_new(Etk_Bool homogeneous, int spacing); init( ); //ewl_box_orientation_set( EWL_BOX(_o), EWL_ORIENTATION_HORIZONTAL ); } @@ -68,6 +69,7 @@ EtkHBox::~EtkHBox() EtkVBox::EtkVBox( EtkObject* parent, const char* type, const char* name ) :EtkBox( parent, type, name ) { + //Etk_Widget *etk_vbox_new(Etk_Bool homogeneous, int spacing); init( ); //ewl_box_orientation_set( EWL_BOX(_o), EWL_ORIENTATION_VERTICAL ); } diff --git a/src/etk/eflpp_etkbox.h b/src/etk/eflpp_etkbox.h index d6e3a64..2d8597a 100644 --- a/src/etk/eflpp_etkbox.h +++ b/src/etk/eflpp_etkbox.h @@ -17,9 +17,32 @@ namespace efl { class EtkBox : public EtkContainer { - public: + public: EtkBox( EtkObject* parent = 0, const char* type = "Box", const char* name = 0 ); virtual ~EtkBox(); + + //void prepend (EtkWidget &child, Etk_Box_Group group, Etk_Box_Fill_Policy fill_policy, int padding); + //~ void etk_box_prepend(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, Etk_Box_Fill_Policy fill_policy, int padding); + + //void append (EtkWidget &child, Etk_Box_Group group, Etk_Box_Fill_Policy fill_policy, int padding); + //~ void etk_box_append(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, Etk_Box_Fill_Policy fill_policy, int padding); + + + //~ void etk_box_insert(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, Etk_Widget *after, Etk_Box_Fill_Policy fill_policy, int padding); + //~ void etk_box_insert_at(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, int pos, Etk_Box_Fill_Policy fill_policy, int padding); + + //~ Etk_Widget *etk_box_child_get_at(Etk_Box *box, Etk_Box_Group group, int pos); + //~ void etk_box_child_position_set(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, int pos); + //~ Etk_Bool etk_box_child_position_get(Etk_Box *box, Etk_Widget *child, Etk_Box_Group *group, int *pos); + //~ void etk_box_child_packing_set(Etk_Box *box, Etk_Widget *child, Etk_Box_Fill_Policy fill_policy, int padding); + //~ Etk_Bool etk_box_child_packing_get(Etk_Box *box, Etk_Widget *child, Etk_Box_Fill_Policy *fill_policy, int *padding); + + //~ void etk_box_spacing_set(Etk_Box *box, int spacing); + //~ int etk_box_spacing_get(Etk_Box *box); + //~ void etk_box_homogeneous_set(Etk_Box *box, Etk_Bool homogeneous); + //~ Etk_Bool etk_box_homogeneous_get(Etk_Box *box); + + };