Draw: AttrText docs

git-svn-id: svn://ultimatepp.org/upp/trunk@1582 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-09-22 17:16:55 +00:00
parent f961adc291
commit 1a08b1e203

View file

@ -124,6 +124,14 @@ for the text painted.&]
ALIGN`_CENTER.&]
[s7;%- &]
[s8;%- &]
[s5;:AttrText`:`:img:%- [_^Image^@0 Image][@0 _img]&]
[s2; Icon aligned to the left side.&]
[s7;%- &]
[s8;%- &]
[s5;:AttrText`:`:imgspc:%- [@(0.0.255) int][@0 _imgspc]&]
[s2; Space between icon and text.&]
[s7;%- &]
[s8;%- &]
[s5;:AttrText`:`:Ink`(Color`):%- [_^AttrText^@0 AttrText][@(0.0.255) `&][@0 _Ink(][_^Color^@0 C
olor][@0 _][@3 c][@0 )]&]
[s2; Sets the text color.&]
@ -163,6 +171,12 @@ ALIGN`_CENTER and ALIGN`_RIGHT.&]
[s2; Aligns the text right.&]
[s7;%- &]
[s8;%- &]
[s5;:AttrText`:`:SetImage`(const Image`&`,int`):%- [_^AttrText^@0 AttrText][@(0.0.255) `&
][@0 _SetImage(][@(0.0.255) const][@0 _][_^Image^@0 Image][@(0.0.255) `&][@0 _][@3 m][@0 ,
][@(0.0.255) int][@0 _][@3 spc][@0 _`=_][@3 4][@0 )]&]
[s2; Sets the icon and space between the icon and text.&]
[s7; &]
[s8;%- &]
[s5;:AttrText`:`:operator Value`(`)const:%- [@0 operator_Value()_][@(0.0.255) const]&]
[s4; [*/ Return value]-|AttrText as raw Value.&]
[s7;%- &]