ubit::UAlpha Class Reference

Alpha blending property of a (UBox) container. More...

#include <uprop.hpp>

Inheritance diagram for ubit::UAlpha:

ubit::UProp ubit::UBrick ubit::UObject List of all members.

Public Member Functions

 UAlpha (float=1.0)
 creates an alpha blending property.
 operator float () const
 type conversion: returns value which is in range [0., 1.].
UAlphaoperator= (float v)
UAlphaoperator= (const UFloat &v)
UAlphaoperator= (const UAlpha &v)
virtual UAlphaset (float)
 changes alpha value. must be in range [0., 1.].
bool operator== (float v) const
bool operator== (const UFloat &v) const
bool operator== (const UAlpha &v) const
virtual void update ()
 updates parents graphics.
virtual void putProp (UContext *, UControl *)
 [impl] changes corresponding value in the UContext

Friends

UAlphaualpha (float v=1.0)
 shortcut for *new UAlpha(value).

Detailed Description

Alpha blending property of a (UBox) container.

value must be in range [0.0, 1.0]. A value of 1.0 makes the perent widget opaque, 0.0 makes it fully transparent


Constructor & Destructor Documentation

ubit::UAlpha::UAlpha ( float  = 1.0  ) 

creates an alpha blending property.

specifies if the widget (UBox and subclass) that contains this prop is opaque (value = 1.0), fully stransparent (value = 0.0) or translucent (value in range ]0.0, 1.0[)


The documentation for this class was generated from the following files:
Generated on Mon Jan 29 00:20:54 2007 for Ubit by  doxygen 1.4.7