![]() |
ULIS
dev4.0.7
Utility Library for Imaging Systems
|
Simple HasText class.
Public Member Functions | |
FFont | Font () const |
int | FontSize () const |
bool | IsAntiAliased () const |
void | SetAntiAliased (bool iValue) |
void | SetFont (const FFont &iValue) |
void | SetFontSize (int iValue) |
void | SetText (const FWString &iValue) |
void | SetTextColor (const FColor &iValue) |
FWString | Text () const |
FColor | TextColor () const |
![]() | |
TCallbackCapable (const DelegateType &iDelegate=DelegateType()) | |
TCallbackCapable (typename DelegateType::tFptr iDelegateFPTR) | |
const DelegateType & | GetDelegate () const |
template<typename ... Args> | |
void | Invoke (Args ... args) const |
void | SetDelegate (const DelegateType &iDelegate) |
void | SetDelegate (const TCallbackCapable< DelegateType, _ID > &iOther) |
void | SetDelegate (typename DelegateType::tFptr iDelegateFPTR) |
Protected Member Functions | |
IHasText (const FWString &iString=L"Lorem ipsum dolor sit amet...", const FFont &iFont=FFont::DefaultFont, int iSize=12, const FColor &iColor=FColor::Black, bool iAntiAliased=true, const FOnTextInfoChanged &iDelegate=FOnTextInfoChanged()) | |
Additional Inherited Members | |
![]() | |
using | Delegate = DelegateType |
|
protected |
FFont IHasText::Font | ( | ) | const |
int IHasText::FontSize | ( | ) | const |
bool IHasText::IsAntiAliased | ( | ) | const |
void IHasText::SetAntiAliased | ( | bool | iValue | ) |
void IHasText::SetFont | ( | const FFont & | iValue | ) |
void IHasText::SetFontSize | ( | int | iValue | ) |
void IHasText::SetText | ( | const FWString & | iValue | ) |
void IHasText::SetTextColor | ( | const FColor & | iValue | ) |
FWString IHasText::Text | ( | ) | const |
FColor IHasText::TextColor | ( | ) | const |