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

GTableLayout Class Reference

#include <GTableLayout.h>

Inheritance diagram for GTableLayout:

GLayout GDom GView GTarget GEvent GFlags List of all members.

Public Member Functions

int CellX ()
 Return the number of cells across (columns).
int CellY ()
 Returns the number of cell high (rows).
GLayoutCellCellAt (int x, int y)
 Returns the cell at a given location.
GRect GetUsedArea ()
 Returns area being used by cells.
void InvalidateLayout ()
 Invalidates the layout, causing the control to relay all the children.
void OnCreate ()
 The view is attached.
void OnPosChange ()
 Called when the view position changes.
void OnPaint (GSurface *pDC)
 Called to paint the onscreen representation of the view.
void OnChildrenChanged (GView *Wnd, bool Attaching)
 Called when the contents of the Children list have changed.

Detailed Description

A table layout control. This uses techniques similar to HTML table layout to set the position and size of the child controls. Child controls exist in a particular cell of the table. Cells can span multiple rows and columns. The only way to create/edit these at the moment is via the lr8 resource file and LgiRes.


The documentation for this class was generated from the following files:
Generated on Wed Oct 26 14:47:03 2005 for Lgi by  doxygen 1.4.1