Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
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. | |
FXSize & | grow (FXshort margin) |
Grow by amount. | |
FXSize & | grow (FXshort hormargin, FXshort vermargin) |
FXSize & | grow (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
FXSize & | shrink (FXshort margin) |
Shrink by amount. | |
FXSize & | shrink (FXshort hormargin, FXshort vermargin) |
FXSize & | shrink (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
FXSize & | operator= (const FXSize &s) |
Assignment. | |
FXSize & | set (const FXSize &s) |
Set value from another size. | |
FXSize & | set (FXshort ww, FXshort hh) |
Set value from components. | |
FXSize & | operator*= (FXshort c) |
Assignment operators. | |
FXSize & | operator/= (FXshort c) |
FXSize & | operator+= (const FXSize &s) |
FXSize & | operator-= (const FXSize &s) |
FXbool | operator! () const |
Test if zero. | |
FXSize | operator+ () const |
Unary. | |
FXSize | operator- () |
Public Attributes | |
FXshort | w |
FXshort | h |
Size.
Copyright © 1997-2022 Jeroen van der Zijp |