Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CAUGuiScheme Class Reference

layout helper class [NOT WELL TESTED YET] More...

#include <CAUGuiTools.h>

List of all members.

Public Member Functions

 CAUGuiScheme ()
void add (eRect *r, CAUGuiAlign align)
void reset ()
void at (SInt32 x, SInt32 y)
eRectget ()
eRectgetS (SInt32 w, SInt32 h)


Detailed Description

layout helper class [NOT WELL TESTED YET]

CAUGuiSchemes hold an array of eRects and alignments which they return subsequently

For layouts, where you have repeating patterns and don't want to scribble down eRect offset orgies, you can set up the scheme once and pass myScheme.get() as an eRect to your Control's constructors...

It's an eRect sequencer...

Definition at line 504 of file CAUGuiTools.h.


Constructor & Destructor Documentation

CAUGuiScheme::CAUGuiScheme  ) 
 

Definition at line 382 of file CAUGuiTools.cpp.


Member Function Documentation

void CAUGuiScheme::add eRect r,
CAUGuiAlign  align
 

Definition at line 397 of file CAUGuiTools.cpp.

References kCAUGuiSchemeMaxPatterns, and eRect::set().

void CAUGuiScheme::at SInt32  x,
SInt32  y
 

Definition at line 407 of file CAUGuiTools.cpp.

eRect * CAUGuiScheme::get  ) 
 

Definition at line 413 of file CAUGuiTools.cpp.

References eRect::align(), eRect::offset(), and eRect::set().

Referenced by getS().

eRect * CAUGuiScheme::getS SInt32  w,
SInt32  h
 

Definition at line 442 of file CAUGuiTools.cpp.

References get(), eRect::h, and eRect::w.

void CAUGuiScheme::reset  ) 
 

Definition at line 453 of file CAUGuiTools.cpp.


The documentation for this class was generated from the following files:
(c) 2002 - 2003 by Urs Heckmann www.u-he.com
Generated on Thu May 6 15:13:15 2004 for CAUGui by doxygen 1.3.6