#include <FXSize.h>
Public Member Functions | |
FXSize () | |
FXSize (const FXSize &s) | |
FXSize (FXshort ww, FXshort hh) | |
bool | empty () const |
bool | operator! () const |
bool | operator== (const FXSize &s) const |
bool | operator!= (const FXSize &s) const |
FXSize & | grow (FXshort margin) |
FXSize & | grow (FXshort hormargin, FXshort vermargin) |
FXSize & | grow (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
FXSize & | shrink (FXshort margin) |
FXSize & | shrink (FXshort hormargin, FXshort vermargin) |
FXSize & | shrink (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
FXSize & | operator= (const FXSize &s) |
FXSize & | set (const FXSize &s) |
FXSize & | set (FXshort ww, FXshort hh) |
FXSize & | operator+= (const FXSize &s) |
FXSize & | operator-= (const FXSize &s) |
FXSize & | operator*= (FXshort c) |
FXSize & | operator/= (FXshort c) |
FXSize | operator- () |
FXSize | operator+ (const FXSize &s) const |
FXSize | operator- (const FXSize &s) const |
Public Attributes | |
FXshort | w |
FXshort | h |
Friends | |
FXSize | operator* (const FXSize &s, FXshort c) |
FXSize | operator* (FXshort c, const FXSize &s) |
FXSize | operator/ (const FXSize &s, FXshort c) |
FXSize | operator/ (FXshort c, const FXSize &s) |
FXAPI FXStream & | operator<< (FXStream &store, const FXSize &s) |
FXAPI FXStream & | operator>> (FXStream &store, FXSize &s) |
FX::FXSize::FXSize | ( | ) | [inline] |
Constructors.
bool FX::FXSize::empty | ( | ) | const [inline] |
Test if empty.
bool FX::FXSize::operator! | ( | ) | const [inline] |
Test if zero.
FXSize& FX::FXSize::grow | ( | FXshort | margin | ) |
Grow by amount.
FXSize& FX::FXSize::shrink | ( | FXshort | margin | ) |
Shrink by amount.
FXSize& FX::FXSize::set | ( | FXshort | ww, | |
FXshort | hh | |||
) | [inline] |
Set value from components.
FXSize FX::FXSize::operator- | ( | ) | [inline] |
Negation.