5 #include "bcrelocatablewidget.h"
8 #include "bcsubwindow.h"
16 class BC_WidgetGrid
: public BC_RelocatableWidget
{
19 BC_WidgetGrid(int x
, int y
, int x_r
, int y_b
, int colgaps
, int rowgaps
);
21 BC_RelocatableWidget
* add(BC_RelocatableWidget
*h
, int row
, int column
);
22 void calculate_maxs();
23 void clear_widget(int row
, int column
);
30 int getw_w(int row
, int column
);
31 int getw_h(int row
, int column
);
38 int reposition_widget(int x
, int y
, int w
= -1, int h
= -1);
40 void set_align(int r
,int c
,int va
, int ha
);
41 void set_crspan(int r
,int c
,int cs
, int rs
);
42 void set_minh(int c
, int h
);
43 void set_minw(int c
, int w
);
44 void setw_position(int row
,int column
,int x
, int y
);
60 BC_WT_RelocatableWidget
64 int widget_types
[BC_WG_Rows
][BC_WG_Cols
];
65 int widget_valign
[BC_WG_Rows
][BC_WG_Cols
];
66 int widget_halign
[BC_WG_Rows
][BC_WG_Cols
];
67 int widget_colspan
[BC_WG_Rows
][BC_WG_Cols
];
68 int widget_rowspan
[BC_WG_Rows
][BC_WG_Cols
];
71 BC_RelocatableWidget
*widget_widgs
[BC_WG_Rows
][BC_WG_Cols
];
82 int x_l
,x_r
,y_t
,y_b
; // left, right, top,bottom margins.
86 class BC_WidgetGridList
: public ArrayList
<BC_WidgetGrid
*>