00001
00002
00003
00004
00005 #ifndef LAYOUT_H
00006 #define LAYOUT_H
00007
00008 #include "Control.h"
00009
00010 namespace wkgl {
00011
00012 #define RIGHT_ALIGN 10;
00013
00019 struct LAYOUT_INFO
00020 {
00021 int hgap;
00022 int vgap;
00023 RECT client;
00024 int param;
00025 };
00026
00027 extern "C" RECT NoLayout( Control** comps, int ncomps, LAYOUT_INFO info );
00028 extern "C" RECT FlowLayoutL( Control** comps, int ncomps, LAYOUT_INFO info );
00029 extern "C" RECT FlowLayoutR( Control** comps, int ncomps, LAYOUT_INFO info );
00030 extern "C" RECT FormLayout( Control** comps, int ncomps, LAYOUT_INFO info );
00031 }
00032 #endif