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

wftk::Filler Class Reference

Filler Class. More...

#include <filler.h>

Inheritance diagram for wftk::Filler:

wftk::ScreenArea List of all members.

Public Types

enum  Orientation { HORIZONTAL = 1 << 0, VERTICAL = 1 << 1, BOTH = HORIZONTAL | VERTICAL }
 Orientation sets the direction that we are filling. More...


Public Member Functions

 Filler (Orientation o, Uint16 min_size=0, unsigned char weight=PackingInfo::Expander::FILL)
 constructor


Protected Member Functions

virtual void setPackingInfo ()
 recalculate the object's prefered size


Detailed Description

Filler Class.

Used to create empty space in a UI that can maintain its relative size if a resize event occurs.


Member Enumeration Documentation

enum wftk::Filler::Orientation
 

Orientation sets the direction that we are filling.

Options are HORIZONTAL, VERTICAL, BOTH.


Constructor & Destructor Documentation

wftk::Filler::Filler Orientation  o,
Uint16  min_size = 0,
unsigned char  weight = PackingInfo::Expander::FILL
[inline, explicit]
 

constructor

Parameters:
o Orientation of this Filler (from enum, above)
min_size Minimum size of this Filler in pixels
weight Sets the precedence when multiple fillers used


The documentation for this class was generated from the following file:

Generated Fri Mar 5 08:11:01 2004.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.