X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxLayoutSplit.h;h=b174a5ab54a015cc0162e2a5b669f36b36c8be0d;hb=00c1d2f8e193b008744bdfe8c047c8743b5c1816;hp=a1656c177177d8f4c899d231f3f66694de869849;hpb=4858c45a868b9b0071f9980ff6be0debd5d4864c;p=bbtk.git diff --git a/packages/wx/src/bbwxLayoutSplit.h b/packages/wx/src/bbwxLayoutSplit.h index a1656c1..b174a5a 100644 --- a/packages/wx/src/bbwxLayoutSplit.h +++ b/packages/wx/src/bbwxLayoutSplit.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbwxLayoutSplit.h,v $ Language: C++ - Date: $Date: 2008/02/15 12:24:43 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/06/19 09:46:46 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -46,7 +46,7 @@ namespace bbwx class LayoutSplit : public bbtk::WxBlackBox { - BBTK_USER_BLACK_BOX_INTERFACE(LayoutSplit,bbtk::WxBlackBox); + BBTK_BLACK_BOX_INTERFACE(LayoutSplit,bbtk::WxBlackBox); BBTK_DECLARE_INPUT(Widget1,wxWindow*); BBTK_DECLARE_INPUT(Widget2,wxWindow*); BBTK_DECLARE_INPUT(Orientation,std::string); @@ -56,6 +56,7 @@ namespace bbwx void Process(); void CreateWidget(); + void bbUserOnShow(); protected: virtual void bbUserConstructor(); @@ -70,10 +71,10 @@ namespace bbwx BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); BBTK_DESCRIPTION("Widget which splits a window in two fixed size parts (wxSplitterWindow)"); // Already inserted for any WxBlackBox BBTK_CATEGORY("widget"); - BBTK_INPUT(LayoutSplit,Widget1,"Upper or left widget",wxWindow*); - BBTK_INPUT(LayoutSplit,Widget2,"Lower or right widget",wxWindow*); - BBTK_INPUT(LayoutSplit,Orientation,"Orientation (default H), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string); - BBTK_INPUT(LayoutSplit,Proportion,"Proportion (in percent) of the first children in the window",int); + BBTK_INPUT(LayoutSplit,Widget1,"Upper or left widget",wxWindow*,""); + BBTK_INPUT(LayoutSplit,Widget2,"Lower or right widget",wxWindow*,""); + BBTK_INPUT(LayoutSplit,Orientation,"Orientation (default H), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string,""); + BBTK_INPUT(LayoutSplit,Proportion,"Proportion (in percent) of the first children in the window",int,""); BBTK_END_DESCRIBE_BLACK_BOX(LayoutSplit); //================================================================= }