00001
00002
00003
00004 #ifndef _GTABLE_LAYOUT_H_
00005 #define _GTABLE_LAYOUT_H_
00006
00008 class GLayoutCell : public GDom
00009 {
00010 public:
00011 GLayoutCell() {}
00012 virtual ~GLayoutCell() {}
00013 };
00014
00019 class LgiClass GTableLayout :
00020 public GLayout,
00021 public ResObject,
00022 public GDom
00023 {
00024 class GTableLayoutPrivate *d;
00025
00026 public:
00027 GTableLayout();
00028 ~GTableLayout();
00029
00031 int CellX();
00033 int CellY();
00035 GLayoutCell *CellAt(int x, int y);
00037 GRect GetUsedArea();
00039 void InvalidateLayout();
00040
00041
00042 void OnCreate();
00043 void OnPosChange();
00044 void OnPaint(GSurface *pDC);
00045 bool GetVariant(char *Name, GVariant &Value, char *Array = 0);
00046 bool SetVariant(char *Name, GVariant &Value, char *Array = 0);
00047 void OnChildrenChanged(GView *Wnd, bool Attaching);
00048 };
00049
00050 #endif