5 #include "bcrelocatablewidget.h"
8 #include "bcsubwindow.h"
10 class grid_widgetinfo
{
17 BC_RelocatableWidget
*wh
;
26 class grid_columninfo
{
32 class BC_WidgetGrid
: public BC_RelocatableWidget
{
34 BC_WidgetGrid(int x
, int y
, int x_r
, int y_b
, int colgaps
, int rowgaps
);
37 BC_RelocatableWidget
* add(BC_RelocatableWidget
*h
, int row
, int col
);
38 void calculate_maxs();
39 void clear_widget(int row
, int col
);
49 int getc_w(int col
, int recalculate
= 0);
50 int getr_h(int row
, int recalculate
= 0);
52 int getw_w(int row
, int col
);
53 int getw_h(int row
, int col
);
60 int reposition_widget(int x
, int y
, int w
= -1, int h
= -1);
62 void set_align(int r
,int c
,int va
, int ha
);
63 void set_crspan(int r
,int c
,int cs
, int rs
);
64 void set_minh(int c
, int h
);
65 void set_minw(int c
, int w
);
66 void setw_position(int row
, int col
, int x
, int y
);
82 BC_WT_RelocatableWidget
86 void growgrid(int row
, int col
);
88 int rowcount
, colcount
;
90 grid_widgetinfo
*wginf
;
91 grid_widgetinfo
*wgdefault
;
93 grid_columninfo
*colinf
;
99 int x_l
, x_r
, y_t
, y_b
; // left, right, top,bottom margins.
103 class BC_WidgetGridList
: public ArrayList
<BC_WidgetGrid
*>
107 ~BC_WidgetGridList();
114 // c-file-style: "linux"