00001 00002 00003 00004 00005 #ifndef MNLAYOUT_H 00006 #define MNLAYOUT_H 00007 00008 #include "MNComponent.h" 00009 00010 #define RIGHT_ALIGN 10; 00011 00017 struct LAYOUT_INFO 00018 { 00019 int hgap; 00020 int vgap; 00021 RECT client; 00022 int param; 00023 }; 00024 00025 extern RECT NoLayout( MNComponent** comps, int ncomps, LAYOUT_INFO info ); 00026 extern RECT FlowLayoutL( MNComponent** comps, int ncomps, LAYOUT_INFO info ); 00027 extern RECT FlowLayoutR( MNComponent** comps, int ncomps, LAYOUT_INFO info ); 00028 extern RECT FormLayout( MNComponent** comps, int ncomps, LAYOUT_INFO info ); 00029 #endif
1.2.18