4 #include "bcrelocatablewidget.h"
7 #include "bcsubwindow.h"
12 class BC_WidgetGrid
: public BC_RelocatableWidget
{
15 BC_WidgetGrid(int x
, int y
, int x_r
, int y_b
, int colgaps
, int rowgaps
);
17 BC_RelocatableWidget
* add(BC_RelocatableWidget
*h
, int row
, int column
);
20 void clear_widget(int row
, int column
);
21 void set_align(int r
,int c
,int va
, int ha
);
23 void calculate_maxs();
26 int reposition_widget(int x
, int y
, int w
= -1, int h
= -1);
28 int getw_w(int row
, int column
);
29 int getw_h(int row
, int column
);
31 void setw_position(int row
,int column
,int x
, int y
);
57 BC_WT_RelocatableWidget
62 int widget_types
[BC_WG_Rows
][BC_WG_Cols
];
63 int widget_valign
[BC_WG_Rows
][BC_WG_Cols
];
64 int widget_halign
[BC_WG_Rows
][BC_WG_Cols
];
66 BC_RelocatableWidget
*widget_widgs
[BC_WG_Rows
][BC_WG_Cols
];
74 int x_l
,x_r
,y_t
,y_b
; // left, right, top,bottom margins.