Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXSize Class Reference

Size. More...

#include <FXSize.h>

Public Member Functions

 FXSize ()
 Constructors.
 
 FXSize (const FXSize &s)
 
 FXSize (FXshort ww, FXshort hh)
 
FXshort & operator[] (FXint i)
 Return a non-const reference to the ith element.
 
const FXshort & operator[] (FXint i) const
 Return a const reference to the ith element.
 
FXbool empty () const
 Test if empty.
 
FXSizegrow (FXshort margin)
 Grow by amount.
 
FXSizegrow (FXshort hormargin, FXshort vermargin)
 
FXSizegrow (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin)
 
FXSizeshrink (FXshort margin)
 Shrink by amount.
 
FXSizeshrink (FXshort hormargin, FXshort vermargin)
 
FXSizeshrink (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin)
 
FXSizeoperator= (const FXSize &s)
 Assignment.
 
FXSizeset (const FXSize &s)
 Set value from another size.
 
FXSizeset (FXshort ww, FXshort hh)
 Set value from components.
 
FXSizeoperator*= (FXshort c)
 Assignment operators.
 
FXSizeoperator/= (FXshort c)
 
FXSizeoperator+= (const FXSize &s)
 
FXSizeoperator-= (const FXSize &s)
 
FXbool operator! () const
 Test if zero.
 
FXSize operator+ () const
 Unary.
 
FXSize operator- ()
 

Public Attributes

FXshort w
 
FXshort h
 

Detailed Description

Size.


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

Copyright © 1997-2022 Jeroen van der Zijp