Typedefs | |
typedef UnicodeConverter< char, TCHAR > | SmartUtil::Ascii2CurrentBuild |
typedef UnicodeConverter< char, wchar_t > | SmartUtil::Ascii2Unicode |
Typdef for easy conversion from char to wchar_t strings. | |
typedef UnicodeConverter< TCHAR, char > | SmartUtil::AsciiGuaranteed |
typedef boost::shared_ptr< Bitmap > | SmartWin::BitmapPtr |
Bitmap pointer. | |
typedef boost::shared_ptr< Brush > | SmartWin::BrushPtr |
Brush pointer. | |
typedef boost::shared_ptr< Command > | SmartWin::CommandPtr |
typedef boost::shared_ptr< Font > | SmartWin::FontPtr |
Font OBJECT type. | |
typedef boost::shared_ptr< Icon > | SmartWin::IconPtr |
Icon pointer. | |
typedef boost::shared_ptr< ImageList > | SmartWin::ImageListPtr |
ImageList pointer. | |
typedef boost::shared_ptr< MenuItemData > | SmartWin::MenuItemDataPtr |
typedef UnicodeConverter< wchar_t, char > | SmartUtil::Unicode2Ascii |
typedef UnicodeConverter< wchar_t, TCHAR > | SmartUtil::Unicode2CurrentBuild |
typedef UnicodeConverter< TCHAR, wchar_t > | SmartUtil::UnicodeGuaranteed |
typedef WidgetChooseColor< FreeCommonDialog > | SmartWin::WidgetChooseColorFree |
A Free WidgetChooseColor dialog is a dialog which isn't "owned" by another Widget. | |
typedef WidgetChooseFont< FreeCommonDialog > | SmartWin::WidgetChooseFontFree |
A Free WidgetChooseFont dialog is a dialog which isn't "owned" by another Widget. | |
typedef WidgetLoadFile< FreeCommonDialog > | SmartWin::WidgetLoadFileFree |
A Free WidgetLoadFile dialog is a dialog which isn't "owned" by another Widget. | |
typedef WidgetMessageBox< FreeCommonDialog > | SmartWin::WidgetMessageBoxFree |
A Free WidgetMessageBox dialog is a dialog which isn't "owned" by another Widget. | |
typedef WidgetSaveFile< FreeCommonDialog > | SmartWin::WidgetSaveFileFree |
A Free WidgetSaveFile dialog is a dialog which isn't "owned" by another Widget. | |
Functions | |
FontPtr | SmartWin::createFont (const SmartUtil::tstring &faceName, int height=10, int width=10, int weight=2, DWORD charSet=ANSI_CHARSET, bool italic=false, bool underline=false, bool strikeOut=false, int escapementOrientation=0, DWORD outputPrecision=OUT_DEFAULT_PRECIS, DWORD clipPrecision=CLIP_DEFAULT_PRECIS, DWORD quality=DEFAULT_QUALITY, DWORD pitchAndFamliy=FF_DONTCARE) |
Creates a Font and returns a pointer to it. | |
FontPtr | SmartWin::createFont (PredefinedFontTypes fontType) |
Creates a Font from a StockId value and returns a pointer to it. | |
bool | SmartWin::operator!= (const Point &lhs, const Point &rhs) |
Returns false if the two Points are equal. | |
Point | SmartWin::operator+ (const Point &lhs, const Point &rhs) |
Adds two Points and returns the result. | |
Point & | SmartWin::operator+= (Point &lhs, const Point &rhs) |
Adds a Point to the left hand side point. | |
Point | SmartWin::operator- (const Point &lhs, const Point &rhs) |
Subtracts two Points and returns the result. | |
Point & | SmartWin::operator-= (Point &lhs, const Point &rhs) |
Subtracts a Point to the left hand side point. | |
bool | SmartWin::operator== (const Point &lhs, const Point &rhs) |
Returns true if the two Points are equal. | |
Variables | |
const Rectangle | SmartWin::letTheSystemDecide |
"Default" Rectangle for window creation |
typedef UnicodeConverter< char, TCHAR > Ascii2CurrentBuild |
This is the more "safe" version of the typedefs if you wish to GUARANTEE that the OUTPUT is of the current "build version".
If UNICODE is defined you WILL get a conversion to a wchar_t string, if UNICODE is NOT defined you WILL NOT get a conversion at all. This and the Unicode2AsciiOrMaybeNot is the most "safe" ones if you wish to make UNICODE support transparent.
typedef UnicodeConverter< char, wchar_t > Ascii2Unicode |
Typdef for easy conversion from char to wchar_t strings.
Be careful with using these ones since it is not generic, you shouldn't use this one unless you ALWAYS expect no matter what build you're in to get the "from" part in a char string and the to part in a wchar_t string.
typedef UnicodeConverter< TCHAR, char > AsciiGuaranteed |
This is the more "safe" version of the typedefs if you wish to GUARANTEE that the OUTPUT is of the current "build version".
If UNICODE is defined you will NOT get any conversion at all, if UNICODE is NOT defined you WILL get a conversion to a char string.
This and the Ascii2UnicodeOrMaybeNot is the most "safe" ones if you wish to make UNICODE support transparent.
typedef boost::shared_ptr< Bitmap > BitmapPtr |
Bitmap pointer.
Use this typedef instead to ensure compatibility in future versions of SmartWin!!
typedef boost::shared_ptr< Brush > BrushPtr |
Brush pointer.
Use this typedef instead to ensure compatibility in future versions of SmartWin!!
typedef boost::shared_ptr< Command > CommandPtr |
Wraps up a Command to a Smart Pointer, help abstracts away the internals of the library!
typedef boost::shared_ptr< Font > FontPtr |
Font OBJECT type.
Use this typedefed pointer to ensure compatibility in future versions of SmartWin++
typedef boost::shared_ptr< Icon > IconPtr |
Icon pointer.
Use this typedef instead to ensure compatibility in future versions of SmartWin!!
typedef boost::shared_ptr< ImageList > ImageListPtr |
ImageList pointer.
Use this typedef instead to ensure compatibility in future versions of SmartWin!!
typedef boost::shared_ptr< MenuItemData > MenuItemDataPtr |
Helps easily create color values and so on for a WidgetMenuExtended item!
Each Menu Item can have different colors and so on, use this smart pointer to set those values!
typedef UnicodeConverter< wchar_t, char > Unicode2Ascii |
Be careful with using these ones since it is not generic, you shouldn't use this one unless you ALWAYS expect no matter what build you're in to get the "from" part in a wchar_t string and the to part in a char string.
typedef UnicodeConverter< wchar_t, TCHAR > Unicode2CurrentBuild |
This is the more "safe" version of the typedefs if you wish to GUARANTEE that the OUTPUT is of the current "build version".
If UNICODE is defined you will NOT get any conversion at all, if UNICODE is NOT defined you WILL get a conversion to a char string.
This and the Ascii2UnicodeOrMaybeNot is the most "safe" ones if you wish to make UNICODE support transparent.
typedef UnicodeConverter< TCHAR, wchar_t > UnicodeGuaranteed |
This is the more "safe" version of the typedefs if you wish to GUARANTEE that the OUTPUT is of the current "build version".
If UNICODE is defined you WILL get a conversion to a wchar_t string, if UNICODE is NOT defined you WILL NOT get a conversion at all. This and the Unicode2AsciiOrMaybeNot is the most "safe" ones if you wish to make UNICODE support transparent.
FontPtr createFont | ( | const SmartUtil::tstring & | faceName, | |
int | height = 10 , |
|||
int | width = 10 , |
|||
int | weight = 2 , |
|||
DWORD | charSet = ANSI_CHARSET , |
|||
bool | italic = false , |
|||
bool | underline = false , |
|||
bool | strikeOut = false , |
|||
int | escapementOrientation = 0 , |
|||
DWORD | outputPrecision = OUT_DEFAULT_PRECIS , |
|||
DWORD | clipPrecision = CLIP_DEFAULT_PRECIS , |
|||
DWORD | quality = DEFAULT_QUALITY , |
|||
DWORD | pitchAndFamliy = FF_DONTCARE | |||
) |
Creates a Font and returns a pointer to it.
The returned object is of type boost::shared_ptr< Font >, but you should use the typedef FontPtr and not
the shared_ptr itself since this may change in future releases.
FontPtr createFont | ( | PredefinedFontTypes | fontType | ) |
Creates a Font from a StockId value and returns a pointer to it.
The returned object is of type boost::shared_ptr< Font >, but you should use the typedef FontPtr and not
the shared_ptr itself since this may change in future releases.
bool operator!= | ( | const Point & | lhs, | |
const Point & | rhs | |||
) |
Returns false if the two Points are equal.
Operator != for checking for equality
Point operator+ | ( | const Point & | lhs, | |
const Point & | rhs | |||
) |
Point & operator+= | ( | Point & | lhs, | |
const Point & | rhs | |||
) |
Point operator- | ( | const Point & | lhs, | |
const Point & | rhs | |||
) |
Point & operator-= | ( | Point & | lhs, | |
const Point & | rhs | |||
) |
bool operator== | ( | const Point & | lhs, | |
const Point & | rhs | |||
) |
Returns true if the two Points are equal.
Operator == for checking for equality
const Rectangle letTheSystemDecide |
"Default" Rectangle for window creation
The system selects the default position/size for the window.