Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GTableLayout.h

Go to the documentation of this file.
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     friend class TableCell;
00025     class GTableLayoutPrivate *d;
00026 
00027 public:
00028     GTableLayout();
00029     ~GTableLayout();
00030 
00032     int CellX();
00034     int CellY();
00036     GLayoutCell *CellAt(int x, int y);
00038     GRect GetUsedArea();
00040     void InvalidateLayout();
00041 
00042     // Impl
00043     void OnCreate();
00044     void OnPosChange();
00045     void OnPaint(GSurface *pDC);
00046     bool GetVariant(char *Name, GVariant &Value, char *Array = 0);
00047     bool SetVariant(char *Name, GVariant &Value, char *Array = 0);
00048     void OnChildrenChanged(GViewI *Wnd, bool Attaching);
00049 };
00050 
00051 #endif

Generated on Tue May 2 10:24:42 2006 for Lgi by  doxygen 1.4.1