mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib documentation update
git-svn-id: svn://ultimatepp.org/upp/trunk@950 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c52c0f4c16
commit
c742bbd312
7 changed files with 1473 additions and 3283 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -73,7 +73,7 @@ isplay][@(0.0.255) `&]_[*@3 display])&]
|
|||
Default action is to call WhenAction callback.&]
|
||||
[s3; &]
|
||||
[s0;%- &]
|
||||
[ {{10000F(128)G(128)@1 [s0; [* Protected Member List]]}}&]
|
||||
[ {{10000F(128)G(128)@1 [s0; [* Public Member List]]}}&]
|
||||
[s3;%- &]
|
||||
[s5;:DataPusher`:`:SetConvert`(const Convert`&`):%- [_^DataPusher^ DataPusher][@(0.0.255) `&
|
||||
]_[* SetConvert]([@(0.0.255) const]_[_^Convert^ Convert][@(0.0.255) `&]_[*@3 `_convert])&]
|
||||
|
|
|
|||
|
|
@ -1,20 +1,22 @@
|
|||
topic "DocEdit";
|
||||
[2 $$0,0#00000000000000000000000000000000:Default]
|
||||
[i448;a25;kKO9;*@(64)2 $$1,0#37138531426314131252341829483380:class]
|
||||
[l288;2 $$2,2#27521748481378242620020725143825:desc]
|
||||
[a83;*R6 $$3,0#31310162474203024125188417583966:caption]
|
||||
[l288;i1121;b17;O9;~~~.1408;2 $$4,0#10431211400427159095818037425705:param]
|
||||
[i448;a25;kKO9;*@(64)2 $$5,0#37138531426314131252341829483370:item]
|
||||
[*+117 $$6,6#14700283458701402223321329925657:header]
|
||||
[0 $$7,0#96390100711032703541132217272105:end]
|
||||
[H6;0 $$8,0#05600065144404261032431302351956:begin]
|
||||
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
|
||||
[l288;2 $$2,0#27521748481378242620020725143825:desc]
|
||||
[0 $$3,0#96390100711032703541132217272105:end]
|
||||
[H6;0 $$4,0#05600065144404261032431302351956:begin]
|
||||
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
|
||||
[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement]
|
||||
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
|
||||
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
|
||||
[b42;2 $$9,9#13035079074754324216151401829390:normal]
|
||||
[{_}%EN-US
|
||||
[s3; DocEdit&]
|
||||
[s1;K:`:`:DocEdit`:`:class:%- [@(0.0.255) class]_[@0 DocEdit]_:_[@(0.0.255) public]_[^`:`:TextCtrl^ T
|
||||
[ {{10000@3 [s0; [*@(229)4 DocEdit]]}}&]
|
||||
[s3; &]
|
||||
[s1;:DocEdit`:`:class:%- [@(0.0.255)3 class][3 _][*3 DocEdit][3 _:_][@(0.0.255)3 public][3 _][*@3;3 T
|
||||
extCtrl]&]
|
||||
[s2; DocEdit is form of raw text editor that interprets lines as
|
||||
[s9; DocEdit is form of raw text editor that interprets lines as
|
||||
paragraphs (wraps them).&]
|
||||
[s2; &]
|
||||
[s0; &]
|
||||
[s2;
|
||||
@@image:875&475
|
||||
‚ƒŒ€Ì€€€ƒ´ÿ€€€€ø³œíÝÛŽÛ°ŽŒÌ‰÷ž½ÂÎïÐ<EFBFBD>¢×ô<EFBFBD>ìþ˜Šæ¡Ê–ŒíîÃ<EFBFBD>‘¤’ˆ¹¢¹’’ë<EFBFBD>Çï×<EFBFBD>¿ßõ¥Ó¿¶Ââ”Æù
|
||||
|
|
@ -34,33 +36,46 @@ paragraphs (wraps them).&]
|
|||
êžÆ¿ÿý¬Æ«Õ…š•ò¢Ž´Ê<EFBFBD>Ò¨¿Ê»£ü¨<EFBFBD>ò£´¿Ê<EFBFBD>¯§ÿÅó–Ý‘ë¯Àå〟
|
||||
&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:DocEdit`:`:After`(int`):%- [^`:`:DocEdit^ DocEdit]`&_[@0 SetFont]([^`:`:Font^ Fon
|
||||
t]_[@3 f])&]
|
||||
[s2; Sets the font to be used by widget.&]
|
||||
[s0; [/ Derived from] [^topic`:`/`/CtrlLib`/src`/TextCtrl`$en`-us`#TextCtrl`:`:class^ Tex
|
||||
tCtrl]&]
|
||||
[s3; &]
|
||||
[s0; &]
|
||||
[s5;K:`:`:DocEdit`:`:SetFilter`(int`(`*`)`(int c`)`):%- [^`:`:DocEdit^ DocEdit]`&_[@0 Set
|
||||
Filter]([@(0.0.255) int]_(`*[@3 f])([@(0.0.255) int]_c))&]
|
||||
[ {{10000F(128)G(128)@1 [s0; [* Public Member List]]}}&]
|
||||
[s3;%- &]
|
||||
[s5;:DocEdit`:`:SetFont`(Font`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* SetFont]([_^Font^ F
|
||||
ont]_[*@3 f])&]
|
||||
[s2; Sets the font to be used by widget to [%-*@3 f].&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:DocEdit`:`:SetFilter`(int`(`*`)`(int c`)`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* S
|
||||
etFilter]([@(0.0.255) int]_(`*[*@3 f])([@(0.0.255) int]_c))&]
|
||||
[s2; [%- Sets the character filter] [%-*@3 f]. All characters keystrokes
|
||||
are first altered by this function and used only if the result
|
||||
is not zero.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:DocEdit`:`:AutoHideSb`(bool`):%- [^`:`:DocEdit^ DocEdit]`&_[@0 AutoHideSb]([@(0.0.255) b
|
||||
ool]_[@3 b]_`=_true)&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:DocEdit`:`:AutoHideSb`(bool`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* AutoHideSb]([@(0.0.255) b
|
||||
ool]_[*@3 b]_`=_[@(0.0.255) true])&]
|
||||
[s2; In AutoHideSb mode, scrollbar is only visible when it is needed
|
||||
(text height is bigger than the height of the window). This mode
|
||||
is active by default.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:DocEdit`:`:UpDownLeave`(bool`):%- [^`:`:DocEdit^ DocEdit]`&_[@0 UpDownLeave]([@(0.0.255) b
|
||||
ool]_[@3 u]_`=_true)&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:DocEdit`:`:UpDownLeave`(bool`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* UpDownLeave](
|
||||
[@(0.0.255) bool]_[*@3 u]_`=_[@(0.0.255) true])&]
|
||||
[s2; In UpDownLeave mode, Up key at the top of text or Down key at
|
||||
the bottom is not processed by DocEdit, which in turn means that
|
||||
it can be processed by parent Ctrl. In TopWindow, this will move
|
||||
the focus to previous / next Ctrl that IsWantFocus.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:DocEdit`:`:NoUpDownLeave`(`):%- [^`:`:DocEdit^ DocEdit]`&_[@0 NoUpDownLeave]()&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:DocEdit`:`:NoUpDownLeave`(`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* NoUpDownLeave](
|
||||
)&]
|
||||
[s2; Same as UpDownLeave(false).&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:DocEdit`:`:IsUpDownLeave`(`)const:%- [@(0.0.255) bool]_[@0 IsUpDownLeave]()_[@(0.0.255) c
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:DocEdit`:`:IsUpDownLeave`(`)const:%- [@(0.0.255) bool]_[* IsUpDownLeave]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Tests UpDownLeave mode.&]
|
||||
[s3; &]
|
||||
[s0; ]
|
||||
|
|
@ -10,9 +10,11 @@ topic "DropList";
|
|||
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
|
||||
[b42;2 $$9,9#13035079074754324216151401829390:normal]
|
||||
[{_}
|
||||
[s0;i448;a25;kKO9;:DropList`:`:class: [@(0.0.255) class]_[* DropList]_:_[@(0.0.255) public]_
|
||||
[*@3 MultiButton], [@(0.0.255) public]_[*@3 Convert]&]
|
||||
[s0; &]
|
||||
[ {{10000@3 [s0;%% [*@(229)4 DropList]]}}&]
|
||||
[s3; &]
|
||||
[s1;:DropList`:`:class: [@(0.0.255)3 class][3 _][*3 DropList][3 _:_][@(0.0.255)3 public][3 _][*@3;3 M
|
||||
ultiButton][3 , ][@(0.0.255)3 public][3 _][*@3;3 Convert]&]
|
||||
[s0;%% &]
|
||||
[s2;%%
|
||||
@@image:337&143
|
||||
€ƒ¶€—€€€ƒéÿ€€€€ø¯œí×ω°ޘ‡áì玎ÛàÕ™ÜÀ©¼ÎùÕŠ•ªÑ±©¨˜¼©•±˜‰Ä<EFBFBD>´ðÁ¨‰Ùâ×þ‚˜ÞÚÃ’–úÐÃÿ
|
||||
|
|
@ -20,23 +22,25 @@ topic "DropList";
|
|||
çÚ¹¿ƒ”ÆË£³Éà¨Úú»âÀ᰽іäÕÌ© ð°¸Ú¬Œªž‚Š£ÜùÖÌòœý å°¿Û»™ž¿˜‰üžö¦»ÎÁÀ÷ʤ•§ Ò°–©§”°ü
|
||||
Žï›²Ã—†˜Çü×ãçú€ã<EFBFBD>Öó±
|
||||
&]
|
||||
[s2;%% This widget provides the selection of values from the drop`-down
|
||||
[s0;%% &]
|
||||
[s9;%% This widget provides the selection of values from the drop`-down
|
||||
list. List is organized in key`-value pairs; when item is selected,
|
||||
the key of items becomes the new DropList value (as used by SetData/GetData
|
||||
interface). The value of DropList does not necessarily have to
|
||||
be in the list as key, you can e.g. assign a value to DropList
|
||||
with empty list and fill the list later.&]
|
||||
[s2;%% Both key and value are of generic Value type. You can associate
|
||||
[s9;%% Both key and value are of generic Value type. You can associate
|
||||
specific Display and Convert with the list and that way use DropList
|
||||
to represent any type of value (colors, line width, fonts etc..).&]
|
||||
[s2;%% DropList also implements the single`-direction Convert interface,
|
||||
[s9;%% DropList also implements the single`-direction Convert interface,
|
||||
where Format is defined as key`->value translation.&]
|
||||
[s2;%% Note: DropBox is implementation helper class used to share
|
||||
[s9;%% Note: DropBox is implementation helper class used to share
|
||||
some code between DropList and similar classes. DropBox is derived
|
||||
from Ctrl.&]
|
||||
[s3;%% &]
|
||||
[s0;%% &]
|
||||
[ {{10000F(128)G(128)@1 [s0;%% [* DropList Public Members]]}}&]
|
||||
[s3; &]
|
||||
[ {{10000F(128)G(128)@1 [s0;%% [* DropList public members]]}}&]
|
||||
[s4; &]
|
||||
[s5;:DropList`:`:Style`:`:typedef: [@(0.0.255) typedef]_[_^MultiButton`:`:Style^ MultiBut
|
||||
ton`::Style]_[* Style]&]
|
||||
[s2;%% The chameleon style of DropList is in fact the Style of MultiButton
|
||||
|
|
@ -296,14 +300,13 @@ list.&]
|
|||
[s5;:DropList`:`:operator Value`(`)const: [@(0.0.255) operator]_Value()_[@(0.0.255) const
|
||||
]&]
|
||||
[s2;%% These methods are deprecated in favor of operator`~ and operator<<`=.&]
|
||||
[s0; &]
|
||||
[s3; &]
|
||||
[s0; &]
|
||||
[ {{10000F(128)G(128)@1 [s0;%% [* DropList Related Global Functions]]}}&]
|
||||
[s0; &]
|
||||
[s0;%% These are simple utility function for filling DropList`'s
|
||||
[s9;%% These are simple utility function for filling DropList`'s
|
||||
list and MapConvert.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s3;%% &]
|
||||
[s0;%% &]
|
||||
[s5;:Add`(DropList`&`,const VectorMap`<Value`,Value`>`&`): [@(0.0.255) void]_[* Add]([_^DropList^ D
|
||||
ropList][@(0.0.255) `&]_[*@3 list], [@(0.0.255) const]_[_^VectorMap^ VectorMap][@(0.0.255) <
|
||||
][_^Value^ Value], [_^Value^ Value][@(0.0.255) >`&]_[*@3 values])&]
|
||||
|
|
@ -320,4 +323,5 @@ apConvert][@(0.0.255) `&]_[*@3 convert], [@(0.0.255) const]_[_^VectorMap^ Vector
|
|||
][@(0.0.255) `&]_[*@3 list], [@(0.0.255) const]_[_^MapConvert^ MapConvert][@(0.0.255) `&]_[*@3 c
|
||||
onvert])&]
|
||||
[s2;%% Fills the DropList from MapConvert.&]
|
||||
[s3; &]
|
||||
[s0; ]
|
||||
|
|
@ -1,19 +1,22 @@
|
|||
topic "ProgressIndicator";
|
||||
[2 $$0,0#00000000000000000000000000000000:Default]
|
||||
[i448;a25;kKO9;*@(64)2 $$1,0#37138531426314131252341829483380:class]
|
||||
[l288;2 $$2,2#27521748481378242620020725143825:desc]
|
||||
[a83;*R6 $$3,0#31310162474203024125188417583966:caption]
|
||||
[l288;i1121;b17;O9;~~~.1408;2 $$4,0#10431211400427159095818037425705:param]
|
||||
[i448;a25;kKO9;*@(64)2 $$5,0#37138531426314131252341829483370:item]
|
||||
[*+117 $$6,6#14700283458701402223321329925657:header]
|
||||
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
|
||||
[l288;2 $$2,0#27521748481378242620020725143825:desc]
|
||||
[0 $$3,0#96390100711032703541132217272105:end]
|
||||
[H6;0 $$4,0#05600065144404261032431302351956:begin]
|
||||
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
|
||||
[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement]
|
||||
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
|
||||
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
|
||||
[b42;2 $$9,9#13035079074754324216151401829390:normal]
|
||||
[{_}%EN-US
|
||||
[s3; ProgressIndicator&]
|
||||
[s0;3 &]
|
||||
[s1;K:`:`:ProgressIndicator`:`:class:%- [@(0.0.255) class]_[@0 ProgressIndicator]_:_[@(0.0.255) p
|
||||
ublic]_[^`:`:Ctrl^ Ctrl]&]
|
||||
[s2; ProgressIndicator is a static widget used to display the progress
|
||||
[ {{10000@3 [s0; [*@(229)4 ProgressIndicator]]}}&]
|
||||
[s3; &]
|
||||
[s1;:ProgressIndicator`:`:class:%- [@(0.0.255)3 class][3 _][*3 ProgressIndicator][3 _:_][@(0.0.255)3 p
|
||||
ublic][3 _][*@3;3 Ctrl]&]
|
||||
[s9; ProgressIndicator is a static widget used to display the progress
|
||||
of lengthy operation.&]
|
||||
[s2; &]
|
||||
[s0; &]
|
||||
[s2;
|
||||
@@image:2006&125
|
||||
€ƒÁ<EFBFBD>”€€€€€€€€€€ø§œíšÁÊÃÀš”†ï¤è½”ß÷¥®½Á¬´Ö¹€úŠô‘÷ì²÷’݈аՅԲÐÀÎ¤Âø˜‡±<EFBFBD>òÔƒ<EFBFBD>§ƒßÇ
|
||||
|
|
@ -22,45 +25,62 @@ of lengthy operation.&]
|
|||
Ž<EFBFBD>ëâÕÁšè<EFBFBD>êû€á¨åÙùÚþ•ž¬§““õ¹»Î›ëýÐÉ£<EFBFBD>´õ½€¦°”¢¨ì¿Š<EFBFBD>߼ߊ×Ï߃ê©þª¡<EFBFBD>´Åõ½€°”ù¿ë²û«¬¿•ô
|
||||
¦û—ï»…€î¿´¡ÒÖ®<EFBFBD>´ËãÌßýÚ‚¡€ß¢½Í“øÏ†Ë˜<EFBFBD>–€€ãÆšªÏÛéû«÷Ùˆˆˆ¿ˆˆˆˆ¾ü„‰ç†<EFBFBD>‘
|
||||
&]
|
||||
[s2; &]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:Set`(int`,int`):%- [@(0.0.255) void]_[@0 Set]([@(0.0.255) in
|
||||
t]_[@3 actual], [@(0.0.255) int]_[@3 total])&]
|
||||
[s0; [/ Derived from] [^topic`:`/`/CtrlCore`/src`/Ctrl`$en`-us`#`:`:Ctrl`:`:class Ctrl^ C
|
||||
trl]&]
|
||||
[s3; &]
|
||||
[s0;%- &]
|
||||
[ {{10000F(128)G(128)@1 [s0; [* Public Member List]]}}&]
|
||||
[s3;%- &]
|
||||
[s5;:ProgressIndicator`:`:Set`(int`,int`):%- [@(0.0.255) void]_[* Set]([@(0.0.255) int]_[*@3 a
|
||||
ctual], [@(0.0.255) int]_[*@3 total])&]
|
||||
[s2;%- [%% Sets the progress to ][*@3 actual][%% steps of ][*@3 total][%%
|
||||
steps. If ][*@3 total][@2 ]is zero, ProgressIndicator displays a
|
||||
bar starting at pixel position [*@3 actual] with reasonable size.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:Set`(int`):%- [@(0.0.255) void]_[@0 Set]([@(0.0.255) int]_[@3 a
|
||||
ctual])&]
|
||||
[s2;%- [%% Sets the progress to ][*@3 actual][%% steps. Total number of
|
||||
steps is defined by previous call to ][%%* Set][%% or ][%%* SetTotal][%% .
|
||||
If ][*@3 total][@2 ]is zero, ProgressIndicator displays a bar starting
|
||||
at pixel position [*@3 actual] with reasonable size.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:operator`=`(int`):%- [@(0.0.255) void]_[@0 operator`=]([@(0.0.255) i
|
||||
nt]_[@3 i])&]
|
||||
[s2; Same as Set([%-*@3 i]).&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:operator`+`+`(`):%- [@(0.0.255) int]_[@0 operator`+`+]()&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:Set`(int`):%- [@(0.0.255) void]_[* Set]([@(0.0.255) int]_[*@3 `_act
|
||||
ual])&]
|
||||
[s2;%- [%% Sets the progress to ][%%*@3 `_][*@3 actual][%% steps. Total
|
||||
number of steps is defined by previous call to ][%%* Set][%% or
|
||||
][%%* SetTotal][%% . If ][*@3 total][@2 ]is zero, ProgressIndicator
|
||||
displays a bar starting at pixel position [*@3 actual] with reasonable
|
||||
size.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:operator`=`(int`):%- [@(0.0.255) void]_[* operator`=]([@(0.0.255) i
|
||||
nt]_[*@3 i])&]
|
||||
[s2; Same as [^topic`:`/`/CtrlLib`/src`/ProgressInd`$en`-us`#ProgressIndicator`:`:Set`(int`)^ S
|
||||
et]([%-*@3 i]).&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:operator`+`+`(`):%- [@(0.0.255) int]_[* operator`+`+]()&]
|
||||
[s2; Increments actual number of steps by one.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:operator`+`+`(int`):%- [@(0.0.255) int]_[@0 operator`+`+](
|
||||
[@(0.0.255) int])&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:operator`+`+`(int`):%- [@(0.0.255) int]_[* operator`+`+]([@(0.0.255) i
|
||||
nt])&]
|
||||
[s2; Post`-increment version.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:operator`+`=`(int`):%- [@(0.0.255) int]_[@0 operator`+`=](
|
||||
[@(0.0.255) int]_[@3 i])&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:operator`+`=`(int`):%- [@(0.0.255) int]_[* operator`+`=]([@(0.0.255) i
|
||||
nt]_[*@3 i])&]
|
||||
[s2; Adds [%-*@3 i] steps to actual position.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:operator int`(`):%- operator_[@(0.0.255) int]()&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:operator int`(`):%- [* operator_int]()&]
|
||||
[s2; Returns the current actual position. &]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:SetTotal`(int`):%- [^`:`:ProgressIndicator^ ProgressIndi
|
||||
cator]`&_[@0 SetTotal]([@(0.0.255) int]_[@3 total])&]
|
||||
[s2; Sets the total number of steps.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:ProgressIndicator`:`:Percent`(bool`):%- [^`:`:ProgressIndicator^ ProgressIndi
|
||||
cator]`&_[@0 Percent]([@(0.0.255) bool]_[@3 b]_`=_true)&]
|
||||
[s5;%- [^`:`:ProgressIndicator^ ProgressIndicator]`&_[@0 NoPercent]()&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:SetTotal`(int`):%- [_^ProgressIndicator^ ProgressIndicator][@(0.0.255) `&
|
||||
]_[* SetTotal]([@(0.0.255) int]_[*@3 `_total])&]
|
||||
[s2; Sets the total number of steps to [%-*@3 `_total].&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ProgressIndicator`:`:Percent`(bool`):%- [_^ProgressIndicator^ ProgressIndicator][@(0.0.255) `&
|
||||
]_[* Percent]([@(0.0.255) bool]_[*@3 b]_`=_[@(0.0.255) true])&]
|
||||
[s5;:ProgressIndicator`:`:NoPercent`(`):%- [_^ProgressIndicator^ ProgressIndicator][@(0.0.255) `&
|
||||
]_[* NoPercent]()&]
|
||||
[s2; In [* Percent] mode, number of percent is displayed in ProgressIndicator.&]
|
||||
[s3; &]
|
||||
[s0; ]
|
||||
|
|
@ -1,8 +1,75 @@
|
|||
TITLE("Slider")
|
||||
COMPRESSED
|
||||
120,156,165,86,255,107,27,101,24,255,87,94,232,86,146,152,133,247,125,239,46,119,185,32,20,156,72,25,83,104,245,167,144,52,215,228,109,114,120,95,194,221,165,85,196,18,55,181,84,22,176,142,109,165,235,104,215,161,86,221,152,29,157,248,131,3,59,52,14,55,54,97,142,41,90,41,136,191,84,183,142,138,82,183,33,62,119,151,47,215,53,146,108,189,192,221,229,125,223,231,243,124,158,207,243,60,239,123,41,138,246,236,193,81,220,131,59,92,242,126,54,162,148,53,39,157,82,121,94,74,42,84,72,190,124,224,133,68,50,210,23,138,243,97,23,133,0,10,39,18,78,18,56,194,211,56,220,8,71,168,64,57,158,72,52,193,75,28,39,97,57,167,41,182,157,78,105,84,146,146,174,17,141,210,30,42,10,148,136,188,196,75,132,19,37,10,182,20,99,138,69,42,16,158,147,168,32,231,153,157,75,167,20,137,75,70,6,226,96,196,185,158,0,28,147,56,229,69,158,98,14,83,30,92,17,73,226,137,40,72,92,34,30,151,115,74,201,81,77,163,238,75,37,132,146,228,
|
||||
48,17,147,192,121,124,124,60,70,120,236,51,224,1,140,96,30,168,18,24,195,60,21,137,144,192,9,65,34,18,230,0,92,16,177,32,151,20,75,209,255,63,116,161,99,232,34,150,85,135,1,68,228,41,66,68,48,137,71,227,61,132,23,33,80,137,227,5,73,196,224,156,82,202,113,148,112,52,145,160,66,92,16,229,34,83,242,204,74,167,94,27,122,125,239,179,207,239,123,105,16,165,108,46,137,6,53,21,134,159,113,44,173,55,157,178,73,242,128,156,133,95,107,212,253,231,9,45,103,220,87,119,40,131,82,123,49,222,135,113,38,211,23,194,49,28,163,130,16,70,245,108,52,102,208,80,235,189,15,7,220,4,151,200,193,69,45,168,82,121,88,83,115,237,176,144,135,224,50,165,65,234,72,181,145,130,198,212,124,129,57,200,41,42,14,82,52,205,28,179,17,51,28,102,169,70,1,41,6,82,225,189,192,44,52,170,104,101,134,134,95,69,121,75,41,20,188,73,176,41,235,195,177,58,110,253,209,112,217,215,167,234,74,129,201,113,137,244,66,17,85,14,223,169,156,168,
|
||||
52,175,173,243,179,119,166,47,77,126,57,191,248,110,237,212,234,197,11,43,19,239,252,177,54,243,209,207,243,247,215,142,189,117,237,141,55,31,174,205,31,159,249,188,186,241,235,230,177,227,115,55,206,223,187,188,242,217,219,149,202,244,196,131,175,143,220,159,155,154,218,248,229,159,7,91,181,235,211,103,111,94,95,252,123,246,167,163,95,92,249,160,86,173,205,44,47,76,157,172,222,58,251,231,247,147,63,110,84,215,207,221,189,114,233,208,199,181,155,223,92,152,185,120,245,211,213,169,219,191,85,215,143,46,44,125,251,221,137,229,218,221,219,239,221,90,92,93,63,245,215,196,39,15,87,126,159,61,180,124,117,97,105,110,235,200,191,239,111,46,157,59,243,195,230,242,201,201,175,78,87,22,239,85,62,60,124,237,242,108,58,16,33,246,31,66,219,140,247,27,185,108,40,27,150,27,34,4,146,51,106,170,249,102,58,154,137,129,20,131,77,115,60,20,110,184,130,81,139,233,144,7,27,217,158,139,150,254,169,8,26,116,88,41,29,235,72,103,63,123,124,58,96,211,134,14,
|
||||
140,238,158,206,65,213,56,168,188,146,13,65,69,101,163,238,173,197,44,179,125,117,166,77,225,163,108,111,144,167,15,214,162,154,222,25,35,184,104,19,34,135,178,67,186,106,52,103,162,232,241,76,3,78,155,242,12,50,16,198,41,50,4,192,170,94,214,81,200,235,12,128,65,26,27,113,116,211,118,80,201,180,85,119,55,12,67,83,229,17,192,60,178,208,82,11,197,71,87,122,34,219,49,52,192,156,178,101,216,40,27,113,138,170,221,89,233,1,197,40,48,95,232,221,104,236,193,60,145,196,237,85,82,116,134,20,187,158,186,16,142,54,152,69,234,22,225,206,145,61,199,28,48,119,171,58,103,26,182,35,7,184,52,252,5,56,121,167,195,182,242,246,237,183,207,135,194,173,141,210,67,109,16,110,200,222,200,170,151,142,238,56,186,117,190,27,142,45,253,186,229,88,47,168,46,57,186,45,91,239,196,97,211,212,118,85,38,94,251,63,73,149,216,65,195,182,125,232,114,107,107,106,181,70,179,79,15,57,86,153,237,108,70,23,30,149,109,150,119,219,11,54,84,175,241,96,
|
||||
39,67,58,115,138,102,30,250,170,127,36,88,130,86,218,61,16,93,172,104,240,144,180,204,178,145,247,17,253,77,207,49,125,104,29,190,197,212,146,166,50,56,48,71,153,129,198,138,112,107,158,142,238,122,191,185,97,147,212,77,224,209,85,229,248,137,217,69,233,4,179,209,101,237,228,202,150,5,123,187,23,85,103,146,253,246,128,171,72,71,162,193,220,237,100,26,64,233,146,237,139,204,134,196,130,200,160,172,229,103,192,75,141,43,182,251,33,147,115,212,209,166,198,233,255,0,90,219,139,106,
|
||||
|
||||
topic "Slider";
|
||||
[2 $$0,0#00000000000000000000000000000000:Default]
|
||||
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
|
||||
[l288;2 $$2,0#27521748481378242620020725143825:desc]
|
||||
[0 $$3,0#96390100711032703541132217272105:end]
|
||||
[H6;0 $$4,0#05600065144404261032431302351956:begin]
|
||||
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
|
||||
[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement]
|
||||
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
|
||||
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
|
||||
[b42;2 $$9,9#13035079074754324216151401829390:normal]
|
||||
[{_}%EN-US
|
||||
[ {{10000@3 [s0; [*@(229)4 SliderCtrl]]}}&]
|
||||
[s3; &]
|
||||
[s1;:SliderCtrl`:`:class:%- [@(0.0.255)3 class][3 _][*3 SliderCtrl][3 _:_][@(0.0.255)3 public][3 _
|
||||
][*@3;3 Ctrl]&]
|
||||
[s9; SliderCtrl is a widget that allows entering an integer value
|
||||
by dragging a thumb.&]
|
||||
[s0; &]
|
||||
[s2;%-
|
||||
@@image:681&143
|
||||
€ƒí€—€€€€€€€€€€ø¯œí˜½‰À ¨<EFBFBD>Æ<EFBFBD>ݵ²Á‡Šìàš©Ü úà•…Ì<EFBFBD>„üà –š¸<EFBFBD>ïãò•–ŸÏ¯ðÂÁ¶†€€˜‡ûÅŒúŸ‘‘ïÞ
|
||||
ùûøÆÎ˜¬ÓΨöœÛ“¼È¦Æ<EFBFBD>Æš´¢‘›<EFBFBD>Õ¬óÔ‰Ùï<EFBFBD>êîȽ‚ªÆÓDzšµË°Ý‘×å<EFBFBD>ê“¢±ÊЗ´Æî×’Õ¨Ýê<EFBFBD>õ‡«üÁ뜂´
|
||||
Ë¢±ŸøŒþ¥ò±£Øò´›‰Ä¡€¨ð€§ƒÌœ
|
||||
&]
|
||||
[s0;%- &]
|
||||
[s0; [/ Derived from] [^topic`:`/`/CtrlCore`/src`/Ctrl`$en`-us`#`:`:Ctrl`:`:class Ctrl^ C
|
||||
trl]&]
|
||||
[s3; &]
|
||||
[s0;%- &]
|
||||
[ {{10000F(128)G(128)@1 [s0; [* Public Member List]]}}&]
|
||||
[s3;%- &]
|
||||
[s5;:SliderCtrl`:`:Inc`(`):%- [@(0.0.255) void]_[* Inc]()&]
|
||||
[s2; Increments slider value by [* Step].&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:Dec`(`):%- [@(0.0.255) void]_[* Dec]()&]
|
||||
[s2; Decrements slider value by [* Step].&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:MinMax`(int`,int`):%- [_^SliderCtrl^ SliderCtrl][@(0.0.255) `&]_[* MinMa
|
||||
x]([@(0.0.255) int]_[*@3 `_min], [@(0.0.255) int]_[*@3 `_max])&]
|
||||
[s2; Sets the minimum (thumb in leftmost position) and maximum (thumb
|
||||
in rightmost position) values. Returns `*this.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:Range`(int`):%- [_^SliderCtrl^ SliderCtrl][@(0.0.255) `&]_[* Range]([@(0.0.255) i
|
||||
nt]_[*@3 max])&]
|
||||
[s2; Same as [^topic`:`/`/CtrlLib`/src`/Slider`$en`-us`#SliderCtrl`:`:MinMax`(int`,int`)^ M
|
||||
inMax](0, [%-*@3 max]).&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:GetMin`(`)const:%- [@(0.0.255) int]_[* GetMin]()_[@(0.0.255) const]&]
|
||||
[s2; Returns minimum value.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:GetMax`(`)const:%- [@(0.0.255) int]_[* GetMax]()_[@(0.0.255) const]&]
|
||||
[s2; Returns maximum value.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:IsVert`(`)const:%- [@(0.0.255) bool]_[* IsVert]()_[@(0.0.255) const]&]
|
||||
[s2; Sets the step used in Inc and Dec methods. If [%-*@3 r] is true,
|
||||
SliderCtrl rounds the value to step multiplies even when dragging
|
||||
the thumb by mouse.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:GetStep`(`)const:%- [@(0.0.255) int]_[* GetStep]()_[@(0.0.255) const]&]
|
||||
[s2; Returns current step.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:SliderCtrl`:`:IsRoundStep`(`)const:%- [@(0.0.255) bool]_[* IsRoundStep]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Tests whether step rounding is active.&]
|
||||
[s3; &]
|
||||
[s0; ]
|
||||
|
|
@ -1,21 +1,379 @@
|
|||
TITLE("TextCtrl")
|
||||
COMPRESSED
|
||||
120,156,229,92,141,119,219,182,17,255,87,240,210,54,149,83,69,211,167,165,72,93,23,199,118,51,191,56,78,94,228,44,219,243,228,16,34,33,139,51,69,106,252,176,163,246,181,127,251,238,0,16,4,41,74,164,232,143,102,175,235,94,44,137,196,1,247,59,220,225,238,112,192,69,155,124,251,109,179,222,252,166,89,240,191,225,17,155,209,200,9,39,23,118,183,59,24,209,118,111,116,253,230,221,139,209,179,151,181,253,238,30,82,105,1,149,78,191,213,25,244,58,173,110,123,31,254,105,117,90,237,94,187,211,109,13,218,47,186,131,78,103,208,28,154,14,13,130,201,133,211,30,12,70,216,168,93,111,127,211,238,247,218,173,126,119,208,29,180,58,253,65,27,218,182,155,205,118,179,223,238,181,186,157,65,187,55,180,88,96,78,46,232,160,51,122,246,97,31,26,117,176,39,32,222,108,237,183,187,253,110,187,217,105,182,187,208,85,107,48,232,182,250,189,65,231,197,254,254,208,164,203,208,246,92,217,151,221,106,181,91,163,105,171,63,130,49,255,254,251,239,141,86,183,41,70,
|
||||
208,5,98,173,102,23,134,218,130,223,154,221,118,191,213,123,209,124,209,27,180,6,205,14,16,239,245,155,189,225,146,250,116,177,153,245,94,33,235,253,230,208,14,25,144,120,246,67,171,213,135,38,251,245,253,111,90,221,62,48,58,232,116,123,131,126,19,58,111,183,219,157,78,187,213,105,191,120,209,238,237,247,250,195,57,163,22,243,39,23,191,126,254,237,187,227,179,231,31,199,228,34,232,140,200,197,119,205,230,243,102,147,156,179,47,225,97,232,59,147,167,147,139,160,53,122,51,52,224,191,248,71,252,204,209,30,94,226,71,252,233,50,110,121,121,249,178,214,108,52,27,237,94,111,143,72,145,196,79,200,231,228,243,75,173,15,237,133,161,254,74,66,104,25,77,29,219,204,163,68,212,40,219,35,114,64,166,52,96,162,91,18,206,105,72,236,197,210,97,11,230,134,1,241,150,204,167,40,183,128,152,222,98,225,185,100,230,249,228,130,179,112,228,153,199,150,29,94,18,249,97,66,106,62,189,37,33,140,144,48,248,14,47,222,206,153,207,136,99,187,44,32,198,115,114,250,
|
||||
51,177,152,99,47,0,122,139,4,204,20,132,225,1,133,183,44,59,88,58,116,5,79,104,64,80,192,87,62,93,206,249,227,91,248,180,132,7,64,206,133,33,178,21,177,60,226,122,33,153,217,33,126,39,183,182,21,206,247,8,117,45,57,182,83,232,82,12,46,254,52,105,212,244,209,96,143,1,50,186,138,127,128,182,248,163,203,110,152,31,247,184,215,80,128,147,91,207,191,14,136,237,146,143,103,39,135,239,142,142,235,100,26,1,86,208,114,234,48,2,56,1,50,11,219,189,2,160,92,32,17,112,222,66,15,8,175,136,55,35,75,159,89,108,6,93,89,196,156,83,63,96,97,0,196,97,236,255,160,78,196,240,13,213,147,141,96,187,33,229,47,35,156,35,0,43,12,145,182,205,123,68,150,3,186,96,136,84,20,224,239,99,22,146,5,11,231,158,85,39,62,204,82,254,110,64,216,127,35,251,134,58,32,74,28,201,107,245,82,67,202,30,255,244,70,111,96,94,201,153,161,77,159,32,244,35,51,156,168,7,160,91,228,115,50,155,135,106,50,125,116,45,239,136,134,84,
|
||||
78,40,167,211,110,142,128,51,232,94,144,136,0,85,201,15,226,135,48,201,41,69,167,30,64,24,65,251,191,0,58,30,188,79,67,14,133,148,233,21,11,27,228,36,36,38,117,201,20,127,9,231,228,189,109,94,199,61,114,161,1,235,218,111,12,25,13,96,238,49,254,208,103,226,115,166,15,206,127,115,228,180,218,131,24,4,62,236,117,149,141,187,226,58,235,48,234,27,53,99,111,152,3,215,141,103,91,10,18,165,105,128,44,111,165,158,212,246,98,152,122,45,16,0,127,40,4,186,97,136,28,77,41,167,181,209,141,153,35,180,232,112,78,221,43,102,241,193,233,210,68,161,221,216,126,24,81,135,76,182,15,90,74,88,141,52,75,59,253,30,240,17,191,72,140,139,165,239,133,240,50,12,96,18,155,21,213,28,228,96,206,193,22,192,255,205,200,15,224,207,28,166,173,41,136,54,72,205,164,142,3,243,28,212,206,85,10,14,18,131,233,227,2,20,49,149,58,249,79,20,132,146,2,168,229,201,140,172,188,136,120,160,105,190,109,129,212,97,190,213,249,79,193,220,139,28,
|
||||
80,50,32,203,45,155,241,92,152,54,169,147,168,193,8,247,212,179,86,18,227,141,240,114,233,160,1,9,238,19,216,132,234,142,144,162,181,64,69,66,117,190,5,12,125,182,0,254,45,82,99,141,171,134,32,139,40,159,122,212,210,12,247,99,129,117,226,6,204,15,37,90,182,27,26,117,252,231,222,80,211,200,103,96,203,33,4,61,111,160,243,178,195,237,125,250,105,61,111,48,91,105,152,94,148,125,92,36,61,249,244,153,106,29,47,60,161,254,136,15,142,44,189,192,230,186,115,203,85,129,179,142,202,242,40,130,252,192,167,213,131,9,82,35,255,103,19,164,84,216,71,146,227,123,159,9,165,145,82,4,211,17,132,248,224,211,56,244,193,65,48,158,222,159,80,85,95,119,20,41,224,85,66,162,156,147,13,68,46,53,14,47,197,51,249,45,221,192,120,170,247,139,94,214,110,179,224,80,44,91,83,54,19,190,198,74,23,62,39,71,192,125,9,148,242,102,166,7,48,218,152,60,210,60,240,130,240,241,38,130,234,236,207,54,19,232,44,132,192,97,109,18,224,66,253,21,
|
||||
204,1,159,9,187,251,16,22,93,17,127,20,145,111,37,17,216,191,176,187,232,177,38,29,78,138,199,106,20,90,128,147,14,234,172,92,174,153,239,45,56,248,105,113,78,30,203,180,131,150,61,160,60,21,245,255,99,129,174,169,227,154,60,117,23,122,179,60,31,203,231,154,65,168,58,71,175,72,72,52,137,49,203,74,49,21,116,106,244,146,208,115,59,246,41,216,109,245,235,94,18,125,64,72,22,143,69,164,17,120,166,66,234,207,74,203,148,200,40,78,5,43,16,209,163,59,164,131,107,79,120,227,56,10,124,20,144,63,193,184,94,81,95,83,19,145,138,3,210,83,106,94,183,228,34,161,190,167,231,221,143,169,117,5,232,92,146,87,73,96,31,47,37,63,37,106,36,187,75,225,103,74,218,200,188,237,222,120,215,113,86,43,130,21,130,248,246,213,60,68,6,109,243,58,208,146,32,60,149,33,129,8,150,204,180,103,43,226,120,38,151,131,27,241,20,9,167,7,174,38,117,96,154,115,113,72,1,136,28,12,132,133,161,199,127,26,135,22,12,42,206,3,17,82,2,179,
|
||||
49,230,35,54,161,150,1,109,147,77,81,116,202,193,193,51,92,240,122,20,224,228,145,40,136,217,18,8,101,117,61,64,106,225,89,246,204,198,44,153,71,212,231,154,241,196,130,105,186,50,158,236,97,56,140,244,11,3,125,106,206,25,152,189,172,238,149,202,239,200,182,149,244,76,179,144,25,77,195,244,25,23,181,109,66,48,31,218,11,251,23,30,207,147,185,45,178,121,218,244,8,232,10,19,126,60,121,59,243,28,199,187,197,175,90,238,246,214,70,237,81,89,74,0,201,197,100,193,154,141,20,38,239,163,235,216,215,204,89,97,47,208,8,166,166,21,171,25,76,77,84,104,211,179,88,17,166,152,134,48,106,60,75,21,250,140,46,192,203,172,227,183,233,42,100,59,66,140,164,214,225,189,76,104,95,18,241,87,189,148,246,233,18,140,147,5,232,50,30,203,37,193,127,115,165,35,19,181,201,51,227,175,159,15,255,126,240,97,124,124,110,124,62,58,254,249,224,227,233,185,146,26,14,82,40,45,207,128,171,21,37,224,35,19,201,203,56,3,172,135,144,178,143,34,56,199,
|
||||
20,23,251,77,112,114,69,31,106,88,170,197,99,243,58,15,192,34,209,13,107,188,142,174,120,148,134,56,207,119,222,184,218,39,96,139,39,58,226,57,49,121,26,118,249,66,30,246,137,125,17,129,64,156,123,4,182,52,81,72,101,41,43,8,114,152,248,8,92,165,76,234,226,102,195,20,3,248,37,44,171,160,1,66,35,130,232,10,236,81,152,79,71,108,49,208,27,177,161,97,124,255,55,227,251,34,25,191,102,16,59,221,128,9,183,112,8,220,30,149,16,241,22,255,169,73,214,72,110,19,247,227,73,232,3,11,35,223,21,50,82,57,18,153,248,159,217,126,16,38,142,218,54,25,228,138,239,100,166,167,144,93,134,59,34,162,55,151,93,129,65,188,97,228,6,247,92,10,23,133,57,51,175,15,5,217,82,130,152,122,158,179,89,18,58,185,175,67,8,99,185,133,180,54,71,106,234,117,209,5,56,63,164,217,152,20,89,40,132,41,55,183,176,139,173,31,107,246,54,111,37,77,69,252,27,130,253,108,156,191,113,57,16,198,187,152,25,197,75,213,21,236,46,92,197,76,
|
||||
149,228,233,1,151,184,49,38,180,148,89,149,46,129,220,167,43,54,109,101,116,72,103,88,173,58,107,25,155,140,129,251,58,180,233,245,29,193,81,113,124,137,101,253,62,97,170,28,194,239,26,184,255,97,238,128,146,204,146,250,60,24,173,36,161,79,122,170,101,171,96,74,228,28,51,162,249,244,71,203,230,14,208,105,37,17,229,80,124,112,244,42,104,232,14,76,240,125,214,35,30,96,86,42,5,224,77,147,197,64,25,87,89,10,192,67,87,50,115,232,85,131,156,121,88,207,128,238,15,142,20,194,219,25,184,53,174,201,192,13,10,111,25,132,201,42,210,229,13,120,154,192,120,18,7,194,241,175,32,53,81,86,2,46,147,63,163,38,19,37,36,64,53,211,28,203,44,120,156,141,35,17,73,4,44,74,72,2,201,122,18,156,11,8,131,184,192,194,138,157,108,207,183,175,108,151,58,178,150,163,6,254,151,12,51,181,18,22,136,202,161,247,4,141,189,194,189,229,64,1,94,209,251,146,20,74,206,148,115,224,10,66,240,153,98,51,198,94,198,117,198,147,152,79,192,238,
|
||||
94,57,189,215,26,19,114,188,88,134,182,22,10,149,80,80,76,25,170,76,200,211,59,132,29,146,80,105,203,150,246,103,214,108,91,153,72,130,39,25,69,149,87,18,62,80,180,91,51,144,73,54,209,129,115,215,182,88,48,90,123,128,69,93,14,180,21,211,90,214,46,165,99,21,140,34,69,206,69,116,91,2,89,133,234,246,37,164,16,216,93,64,45,187,93,94,180,73,238,68,11,119,119,121,72,220,193,0,165,196,161,193,45,118,201,121,221,158,22,202,137,238,96,76,22,251,34,145,174,4,244,215,128,113,137,224,75,139,184,20,38,117,210,44,180,21,82,201,238,202,235,233,218,152,171,250,31,27,121,181,23,182,67,125,89,131,40,13,131,168,159,180,60,22,240,82,78,174,112,107,154,200,11,125,25,60,41,129,197,199,112,54,40,131,71,225,158,113,161,99,173,155,42,14,97,220,117,37,24,237,221,21,43,111,55,5,28,152,243,159,141,231,3,2,30,130,135,5,160,101,188,177,18,120,85,117,202,190,2,60,74,123,165,199,8,25,179,18,52,30,42,6,211,58,186,15,
|
||||
108,254,176,144,170,0,124,31,11,143,113,249,220,97,46,34,38,167,204,189,10,231,247,97,208,4,165,71,155,127,188,183,252,125,206,146,172,31,98,41,217,86,7,183,12,219,135,235,229,108,27,157,92,157,1,55,90,76,193,252,74,6,130,18,99,198,84,225,93,5,133,52,30,112,229,201,27,185,136,101,60,223,184,48,38,119,26,190,78,232,97,87,79,93,78,210,164,109,244,167,248,162,41,220,174,50,243,78,170,219,93,38,93,158,158,149,225,36,244,66,136,18,147,121,167,21,102,216,238,46,1,203,33,47,9,191,19,19,130,68,5,38,244,173,11,81,154,94,122,192,98,173,201,143,243,242,119,139,181,161,166,235,58,246,114,124,74,124,163,166,222,47,116,37,199,44,84,5,251,169,146,162,29,147,220,138,72,50,186,73,89,254,58,242,164,64,242,8,22,36,237,105,83,61,40,42,35,74,175,117,41,225,114,162,39,103,176,194,189,61,248,231,122,98,91,157,55,224,219,72,154,98,201,161,97,64,175,71,42,130,54,223,234,195,163,44,48,13,124,172,81,168,139,83,74,248,
|
||||
179,241,100,102,127,193,100,76,188,49,37,126,134,5,146,58,245,184,142,38,174,108,168,54,167,78,2,77,118,119,200,144,172,9,175,84,150,4,226,109,220,110,75,237,185,25,207,217,98,25,174,52,56,139,213,34,51,255,158,138,25,184,45,3,177,157,159,215,57,179,113,199,36,68,134,250,182,112,57,221,48,99,16,203,152,18,5,21,113,188,91,180,235,16,19,71,75,88,100,128,205,200,181,202,44,201,250,44,88,223,166,218,182,151,84,132,91,222,166,202,61,237,41,173,99,32,15,189,225,50,112,101,227,169,32,93,225,74,86,75,232,76,232,41,231,102,229,168,38,133,203,90,198,89,189,85,36,96,141,185,93,242,205,121,10,158,119,104,175,240,220,209,70,29,223,192,193,33,24,62,230,100,141,99,169,19,36,169,49,231,45,36,186,254,102,170,23,83,237,115,86,186,35,120,22,178,172,230,148,241,24,198,137,199,80,105,133,75,251,10,59,45,111,153,149,72,49,243,222,161,38,240,34,79,199,129,67,231,178,91,181,12,20,150,2,211,0,212,188,244,190,251,38,215,130,147,
|
||||
217,202,213,61,108,188,235,181,245,26,251,216,117,176,94,57,79,249,113,63,158,116,151,208,148,197,164,248,180,195,14,200,164,79,51,84,174,238,43,62,190,80,17,211,60,72,197,152,211,152,74,72,51,193,130,132,82,88,129,221,240,44,91,20,241,181,1,91,170,158,66,135,245,1,43,42,54,9,138,137,60,145,40,86,91,95,255,200,228,222,36,201,73,26,207,190,122,209,233,111,104,105,3,128,247,217,253,105,131,60,77,111,137,187,53,98,180,203,45,119,149,195,166,244,81,139,251,5,115,83,67,189,2,128,104,190,24,142,164,252,118,225,25,124,198,3,242,59,239,87,198,13,115,86,246,183,212,151,181,239,83,118,101,187,46,175,100,158,193,146,248,69,220,20,64,166,142,103,94,55,200,129,227,8,79,138,111,28,100,234,157,107,182,20,185,184,3,128,115,181,199,227,46,159,153,158,111,241,242,205,208,147,4,35,220,219,229,245,156,241,149,20,98,15,145,81,115,158,252,166,234,14,3,130,147,196,97,162,102,159,202,112,49,102,9,6,229,128,191,164,14,67,168,237,123,55,
|
||||
127,176,192,166,227,185,87,65,188,129,142,107,127,16,199,160,73,1,128,34,175,54,76,76,159,225,190,51,213,91,144,218,138,133,123,35,94,87,47,119,160,195,91,219,20,87,39,96,128,138,231,20,115,198,96,187,170,164,32,115,189,132,70,201,3,79,176,104,70,84,154,13,27,102,194,123,81,172,30,112,41,21,235,96,133,142,177,209,182,142,241,54,134,226,224,59,230,185,114,220,173,243,95,33,228,230,117,198,222,66,220,32,33,39,120,97,184,120,18,196,136,85,30,182,142,222,93,134,205,239,188,40,57,108,30,195,84,154,100,170,101,142,192,101,233,13,30,49,226,24,10,171,81,126,84,250,157,36,169,129,93,230,233,7,190,117,153,220,154,146,235,141,107,4,243,38,40,63,31,148,55,212,134,58,60,2,198,105,22,201,179,88,210,94,197,165,78,129,56,210,1,6,7,175,233,33,55,212,183,189,40,224,214,180,206,79,94,33,18,222,45,55,73,34,51,165,93,78,34,33,17,158,137,90,40,200,91,188,157,99,202,228,241,19,81,60,196,108,46,238,244,5,45,20,83,104,
|
||||
74,24,241,185,75,237,250,28,52,81,27,12,123,137,216,46,45,138,37,124,51,62,111,18,66,149,218,228,124,201,136,126,210,110,102,73,177,167,221,78,75,127,180,158,158,92,19,67,131,100,218,162,116,113,52,120,14,202,2,173,243,189,21,179,246,136,21,249,113,181,74,105,52,15,163,112,119,45,139,194,109,6,21,30,23,246,234,45,43,20,214,65,163,173,253,194,243,146,129,244,142,61,103,226,230,245,174,249,11,197,19,23,83,24,224,210,236,220,191,106,153,51,6,241,76,30,36,156,123,78,57,167,78,28,16,20,41,68,252,176,179,146,240,246,235,238,108,238,177,201,204,244,199,227,140,57,9,2,223,187,193,66,173,248,84,160,107,81,223,146,7,32,53,7,158,55,46,147,254,89,63,210,177,115,18,40,19,227,237,150,30,205,57,242,167,52,220,118,151,145,126,248,37,222,64,79,142,65,74,19,159,188,18,164,109,186,197,76,60,65,123,59,183,193,123,213,118,213,228,37,90,120,112,198,79,78,136,114,31,150,251,194,187,108,185,41,4,183,87,71,148,172,71,80,123,193,
|
||||
235,39,99,202,100,206,249,97,30,142,2,240,148,8,167,204,76,240,156,56,15,88,23,182,7,191,239,62,27,176,89,165,248,45,57,102,157,201,49,112,146,151,36,77,57,53,137,54,204,33,172,66,197,141,35,108,168,205,9,113,183,94,90,198,185,110,225,217,27,227,243,217,187,15,111,15,78,49,193,12,175,145,95,127,237,118,187,157,97,175,215,235,255,136,87,55,254,52,216,239,142,8,66,251,236,135,126,79,41,32,73,200,36,87,195,105,228,38,147,225,144,183,194,70,103,120,7,156,140,223,248,80,27,241,211,146,52,143,78,198,7,175,78,143,143,82,84,207,21,57,225,246,36,254,14,240,143,183,244,129,123,180,99,63,227,227,211,227,195,243,76,63,227,84,38,127,215,241,191,63,120,127,252,97,27,42,75,138,187,62,21,201,126,56,62,56,122,119,118,250,175,20,225,247,9,197,44,50,120,89,160,241,220,115,157,213,238,125,109,7,167,26,27,135,239,78,223,1,233,195,119,31,207,206,211,194,205,214,11,112,110,120,137,40,11,26,147,223,126,211,212,189,192,122,37,90,
|
||||
191,221,124,9,37,148,231,219,117,77,204,55,96,235,111,220,111,193,145,58,190,32,88,223,170,219,5,33,250,56,100,203,181,195,238,41,175,245,114,237,166,209,76,213,163,34,83,201,240,185,27,204,23,50,177,160,95,236,69,180,208,100,205,35,157,0,59,43,190,231,198,51,89,16,156,211,169,81,195,248,181,50,123,9,161,173,252,109,216,194,234,144,164,25,230,127,67,63,98,73,58,114,198,147,70,55,12,61,116,158,104,220,171,171,139,30,76,147,45,1,7,48,61,231,7,175,200,53,91,161,11,127,205,180,148,150,241,189,241,239,208,248,190,176,164,227,204,211,193,168,12,132,78,38,207,199,148,121,162,228,165,218,140,58,1,43,49,188,87,212,188,190,242,113,115,251,142,178,210,73,221,187,180,212,180,84,7,133,208,87,242,169,27,44,41,223,155,90,120,224,109,25,207,249,61,19,98,12,162,8,34,4,11,104,243,83,202,24,163,159,107,45,48,192,198,9,64,241,33,222,126,139,39,17,96,26,212,49,246,21,199,10,226,166,83,6,95,173,84,255,120,9,75,96,195,106,
|
||||
86,23,97,58,191,114,54,185,150,1,77,194,82,56,204,60,148,214,135,133,59,139,172,76,110,104,195,204,41,179,119,171,55,206,153,47,233,76,80,242,170,128,49,70,38,21,48,193,159,201,255,0,167,177,223,165,
|
||||
|
||||
topic "TextCtrl";
|
||||
[2 $$0,0#00000000000000000000000000000000:Default]
|
||||
[i448;a25;kKO9;*@(64)2 $$1,0#37138531426314131252341829483380:class]
|
||||
[l288;2 $$2,2#27521748481378242620020725143825:desc]
|
||||
[a83;*R6 $$3,0#31310162474203024125188417583966:caption]
|
||||
[l288;i1121;b17;O9;~~~.1408;2 $$4,0#10431211400427159095818037425705:param]
|
||||
[i448;a25;kKO9;*@(64)2 $$5,0#37138531426314131252341829483370:item]
|
||||
[*+117 $$6,6#14700283458701402223321329925657:header]
|
||||
[0 $$7,0#96390100711032703541132217272105:end]
|
||||
[{_}%EN-US
|
||||
[s3;%- TextCtrl&]
|
||||
[s1;:TextCtrl`:`:class:%- [*@(0.0.255)3 class][*@0;3 _][@0;3 TextCtrl][*@0;3 _:_][*@(0.0.255)3 p
|
||||
ublic][*@0;3 _][@3;3 Ctrl][*@0;3 , ][*@(0.0.255)3 protected][*@0;3 _][@3;3 TextArrayOps]&]
|
||||
[s2; &]
|
||||
[s1;K:`:`:TextCtrl`:`:class:^`:`:Ctrl^%- &]
|
||||
[s2; A base class that implements operations common for [^`:`:DocEdit^ DocEdit]
|
||||
(raw text editor where lines `- LF delimited sections `- are
|
||||
displayed as paragraphs `- wrapped when they do not fit the width)
|
||||
and [^`:`:LineEdit^ LineEdit].(where lines are simply lines and
|
||||
are never wrapped). TextCtrl works in UNICODE, but is able performing
|
||||
conversions to any of predefined charsets. The Value of TextCtrl
|
||||
is contained text; setting it is the same as using Set method,
|
||||
reading is equivalent to Get method.&]
|
||||
[s2; &]
|
||||
[s5;K%- [@(0.0.255) struct]_TextCtrl`::[@0 UndoData]&]
|
||||
[s2;l320; This structure contains informations about undo/redo state
|
||||
of the widget. It can be with PickUndoData and SetPickUndoDate
|
||||
to store and restore undo/redo state.&]
|
||||
[s0;l128; &]
|
||||
[s5;l320;K:`:`:TextCtrl`:`:UndoData`:`:Clear`(`):%- [@(0.0.255) void]_[@0 Clear]()&]
|
||||
[s2;l512; Clears the undo/redo state.&]
|
||||
[s0;l320; &]
|
||||
[s5;K:`:`:TextCtrl`:`:SelectionChanged`(`):%- virtual [@(0.0.255) void]_[@0 SelectionChan
|
||||
ged]()[@0 `[protected`]]&]
|
||||
[s2; Selection anchor or cursor has changed. (called even when there
|
||||
is no selection, just cursor). If you override this, you should
|
||||
call base`-class version in the body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:ClearLines`(`):%- virtual [@(0.0.255) void]_[@0 ClearLines]()[@0
|
||||
`[protected`]]&]
|
||||
[s2; The content was removed (e.g. Clear or Load operations). If
|
||||
you override this, you should call base`-class version in the
|
||||
body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:InsertLines`(int`,int`):%- virtual [@(0.0.255) void]_[@0 InsertLine
|
||||
s]([@(0.0.255) int]_[@3 line], [@(0.0.255) int]_[@3 count])[@0 `[protected`]]&]
|
||||
[s2; [%-*@3 count] lines at [%-*@3 line] position were inserted. If you
|
||||
override this, you should call base`-class version in the body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:RemoveLines`(int`,int`):%- virtual [@(0.0.255) void]_[@0 RemoveLine
|
||||
s]([@(0.0.255) int]_[@3 line], [@(0.0.255) int]_[@3 count])[@0 `[protected`]]&]
|
||||
[s2; [%-*@3 count] lines at [%-*@3 line] position were removed. If you
|
||||
override this, you should call base`-class version in the body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:PreInsert`(int`,const`:`:WString`&`):%- virtual
|
||||
[@(0.0.255) void]_[@0 PreInsert]([@(0.0.255) int]_[@3 pos], [@(0.0.255) const]_[^`:`:WString^ W
|
||||
String]`&_[@3 text])[@0 `[protected`]]&]
|
||||
[s2; Called before any [%-*@3 text] gets inserted at [%-*@3 pos.] If
|
||||
you override this, you should call base`-class version in the
|
||||
body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:PostInsert`(int`,const`:`:WString`&`):%- virtual
|
||||
[@(0.0.255) void]_[@0 PostInsert]([@(0.0.255) int]_[@3 pos], [@(0.0.255) const]_[^`:`:WString^ W
|
||||
String]`&_[@3 text])[@0 `[protected`]]&]
|
||||
[s2; Called after [%-*@3 text] was inserted at [%-*@3 pos.] If you override
|
||||
this, you should call base`-class version in the body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:PreRemove`(int`,int`):%- virtual [@(0.0.255) void]_[@0 PreRemove]([@(0.0.255) i
|
||||
nt]_[@3 pos], [@(0.0.255) int]_[@3 size])[@0 `[protected`]]&]
|
||||
[s2; Called before [%-*@3 size] characters get removed from the [%-*@3 pos].
|
||||
If you override this, you should call base`-class version in
|
||||
the body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:PostRemove`(int`,int`):%- virtual [@(0.0.255) void]_[@0 PostRemove](
|
||||
[@(0.0.255) int]_[@3 pos], [@(0.0.255) int]_[@3 size])[@0 `[protected`]]&]
|
||||
[s2; Called after [%-*@3 size] characters was removed from the [%-*@3 pos].
|
||||
If you override this, you should call base`-class version in
|
||||
the body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:RefreshLine`(int`):%- virtual [@(0.0.255) void]_[@0 RefreshLine]([@(0.0.255) i
|
||||
nt]_[@3 i])&]
|
||||
[s2; This virtual method is called by TextCtrl when the content of
|
||||
line [%-*@3 i] is changed. If you override this, you should call
|
||||
base`-class version in the body.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:WhenBar:%- [^`:`:Callback1^ Callback1]<[^`:`:Bar^@0 Bar]`&>_[@0 WhenB
|
||||
ar]&]
|
||||
[s2; This callback is invoked when user right`-clicks the widget
|
||||
and should specify local menu. It is initialized by the constructor
|
||||
to the StdBar method. &]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:WhenState:%- [^`:`:Callback^ Callback]_[@0 WhenState]&]
|
||||
[s2; This callback is invoked when the status of widget changes from
|
||||
not`-modified to modified (`"dirty`") or back.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:CachePos`(int`):%- [@(0.0.255) void]_[@0 CachePos]([@(0.0.255) int]_[@3 p
|
||||
os])&]
|
||||
[s2; This is specific optimization hint to the widget saying that
|
||||
following operations will be performed near after [%-*@3 pos].
|
||||
Unlikely to be used in the client code.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Load`(`:`:Stream`&`,`:`:byte`):%- [@(0.0.255) void]_[@0 Load]([^`:`:Stream^ S
|
||||
tream]`&_[@3 s], [^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAULT)&]
|
||||
[s2; Loads the text from the stream with defined [%-*@3 charset].&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Save`(`:`:Stream`&`,`:`:byte`)const:%- [@(0.0.255) void]_[@0 Save](
|
||||
[^`:`:Stream^ Stream]`&_[@3 s], [^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAULT)_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Saves the text to the stream with defined [%-*@3 charset]. Characters
|
||||
that cannot be represented in suggested [%-*@3 charset] are saved
|
||||
as `'?`'.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetInvalidCharPos`(`:`:byte`)const:%- [@(0.0.255) int]_[@0 GetInval
|
||||
idCharPos]([^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAULT)_[@(0.0.255) const]&]
|
||||
[s2; Returns the position of the first character that cannot be represented
|
||||
[%-*@3 charset]. If there is none, returns negative value.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:CheckCharset`(`:`:byte`)const:%- [@(0.0.255) bool]_[@0 CheckCharset
|
||||
]([^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAULT)_[@(0.0.255) const]&]
|
||||
[s2;%- [%% Same as GetInvalidCharPos(]charset) < 0.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Set`(const`:`:WString`&`):%- [@(0.0.255) void]_[@0 Set]([@(0.0.255) c
|
||||
onst]_[^`:`:WString^ WString]`&_[@3 s])&]
|
||||
[s5;K:`:`:TextCtrl`:`:Set`(const`:`:String`&`,`:`:byte`):%- [@(0.0.255) void]_[@0 Set]([@(0.0.255) c
|
||||
onst]_[^`:`:String^ String]`&_[@3 s], [^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAULT)
|
||||
&]
|
||||
[s2; Sets the text in the widget.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Get`(`:`:byte`)const:%- [^`:`:String^ String]_[@0 Get]([^`:`:byte^ by
|
||||
te]_[@3 charset]_`=_CHARSET`_DEFAULT)_[@(0.0.255) const]&]
|
||||
[s2; Gets the text in the widget.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Get`(int`,int`,`:`:byte`)const:%- [^`:`:String^ String]_[@0 Get]([@(0.0.255) i
|
||||
nt]_[@3 pos], [@(0.0.255) int]_[@3 size], [^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAUL
|
||||
T)_[@(0.0.255) const]&]
|
||||
[s2; Gets the part of text in the widget.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetW`(int`,int`)const:%- [^`:`:WString^ WString]_[@0 GetW]([@(0.0.255) i
|
||||
nt]_[@3 pos], [@(0.0.255) int]_[@3 size])_[@(0.0.255) const]&]
|
||||
[s2; Gets the part of text in the widget in UNICODE.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetW`(`)const:%- [^`:`:WString^ WString]_[@0 GetW]()_[@(0.0.255) cons
|
||||
t]&]
|
||||
[s2; Gets the text in the widget in UNICODE.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:ClearDirty`(`):%- [@(0.0.255) void]_[@0 ClearDirty]()&]
|
||||
[s2; Clears dirty flag. Note that the difference between `"dirty`"
|
||||
flag and `"modified`" flag of Ctrl interface is that `"dirty`"
|
||||
flag can get cleared by undo operation, when the text is restored
|
||||
to the original state (one after setting it or at ClearDirty).&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:IsDirty`(`)const:%- [@(0.0.255) bool]_[@0 IsDirty]()_[@(0.0.255) cons
|
||||
t]&]
|
||||
[s2; Tests if text is different from `"original`" state (one after
|
||||
setting it or at ClearDirty).&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Clear`(`):%- [@(0.0.255) void]_[@0 Clear]()&]
|
||||
[s2; Empties the text.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetLinePos`(int`&`)const:%- [@(0.0.255) int]_[@0 GetLinePos]([@(0.0.255) i
|
||||
nt]`&_[@3 pos])_[@(0.0.255) const]&]
|
||||
[s2; Returns the line where character at offset [%-*@3 pos] resides;
|
||||
[%-*@3 pos] is altered to contain the position withing the line.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetPos`(int`,int`)const:%- [@(0.0.255) int]_[@0 GetPos]([@(0.0.255) i
|
||||
nt]_[@3 line], [@(0.0.255) int]_[@3 column])_[@(0.0.255) const]&]
|
||||
[s2; Returns the offset of character at [%-*@3 line] and [%-*@3 column]
|
||||
index within the line.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetPos`(int`)const:%- [@(0.0.255) int]_[@0 GetPos]([@(0.0.255) int]_[@3 l
|
||||
ine])_[@(0.0.255) const]&]
|
||||
[s2; Same as GetPos([%-*@3 line], 0).&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetLine`(int`)const:%- [@(0.0.255) int]_[@0 GetLine]([@(0.0.255) int]_
|
||||
[@3 pos])_[@(0.0.255) const]&]
|
||||
[s2; Similar to GetLinePos, but does not alter [%-*@3 pos] parameter.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetUtf8Line`(int`)const:%- [@(0.0.255) const]_[^`:`:String^ String]`&
|
||||
_[@0 GetUtf8Line]([@(0.0.255) int]_[@3 i])_[@(0.0.255) const]&]
|
||||
[s2; Returns the line [%-*@3 i] in UTF`-8 encoding.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetWLine`(int`)const:%- [^`:`:WString^ WString]_[@0 GetWLine]([@(0.0.255) i
|
||||
nt]_[@3 i])_[@(0.0.255) const]&]
|
||||
[s2; Returns the line [%-*@3 i] in UNICODE.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetEncodedLine`(int`,`:`:byte`)const:%- [^`:`:String^ String]_[@0 G
|
||||
etEncodedLine]([@(0.0.255) int]_[@3 i], [^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAUL
|
||||
T)_[@(0.0.255) const]&]
|
||||
[s2; Returns the line [%-*@3 i] required encoding.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetLineLength`(int`)const:%- [@(0.0.255) int]_[@0 GetLineLength]([@(0.0.255) i
|
||||
nt]_[@3 i])_[@(0.0.255) const]&]
|
||||
[s2; Returns the length of line [%-*@3 i].&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetLineCount`(`)const:%- [@(0.0.255) int]_[@0 GetLineCount]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Returns the number of lines.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetChar`(int`)const:%- [@(0.0.255) int]_[@0 GetChar]([@(0.0.255) int]_
|
||||
[@3 pos])_[@(0.0.255) const]&]
|
||||
[s5;K:`:`:TextCtrl`:`:operator`[`]`(int`)const:%- [@(0.0.255) int]_[@0 operator`[`]]([@(0.0.255) i
|
||||
nt]_[@3 pos])_[@(0.0.255) const]&]
|
||||
[s2; Returns the UNICODE character at [%-*@3 pos] offset.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetLength`(`)const:%- [@(0.0.255) int]_[@0 GetLength]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Returns the total number of characters in the text.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetCursor`(`)const:%- [@(0.0.255) int]_[@0 GetCursor]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Returns the position of cursor.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetCursorLine`(`):%- [@(0.0.255) int]_[@0 GetCursorLine]()&]
|
||||
[s2; Same as GetLine(GetCursor).&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:SetSelection`(int`,int`):%- [@(0.0.255) void]_[@0 SetSelection]([@(0.0.255) i
|
||||
nt]_[@3 anchor]_`=_[@3 0], [@(0.0.255) int]_[@3 cursor]_`=_INT`_MAX)&]
|
||||
[s2; Sets the selection. If [%-*@3 anchor] or [%-*@3 cursor] are out
|
||||
of range, they are `"fixed`". If they are equal, method changes
|
||||
the position of cursor.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:IsSelection`(`)const:%- [@(0.0.255) bool]_[@0 IsSelection]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Tests whether there is non`-empty selection.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetSelection`(int`&`,int`&`)const:%- [@(0.0.255) bool]_[@0 GetSelec
|
||||
tion]([@(0.0.255) int]`&_[@3 l], [@(0.0.255) int]`&_[@3 h])_[@(0.0.255) const]&]
|
||||
[s2; Returns the selection lower and upper bounds.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetSelection`(`:`:byte`):%- [^`:`:String^ String]_[@0 GetSelection](
|
||||
[^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAULT)&]
|
||||
[s2; Returns the selected text in given [%-*@3 charset].&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetSelectionW`(`)const:%- [^`:`:WString^ WString]_[@0 GetSelectionW
|
||||
]()[@0 const]&]
|
||||
[s2; Returns the selected text in UNICODE.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:ClearSelection`(`)const:%- [@(0.0.255) void]_[@0 ClearSelection]()[@0
|
||||
const]&]
|
||||
[s2; Cancels the selection.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:RemoveSelection`(`):%- [@(0.0.255) bool]_[@0 RemoveSelection]()&]
|
||||
[s2; Deletes the selection text.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:SetCursor`(int`):%- [@(0.0.255) void]_[@0 SetCursor]([@(0.0.255) int]_
|
||||
[@3 cursor])&]
|
||||
[s2; Places cursor at new position.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Paste`(const`:`:WString`&`):%- [@(0.0.255) int]_[@0 Paste]([@(0.0.255) c
|
||||
onst]_[^`:`:WString^ WString]`&_[@3 text])&]
|
||||
[s2; Pastes [%-*@3 text] at current cursor position.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Insert`(int`,const`:`:WString`&`):%- [@(0.0.255) int]_[@0 Insert]([@(0.0.255) i
|
||||
nt]_[@3 pos], [@(0.0.255) const]_[^`:`:WString^ WString]`&_[@3 txt])&]
|
||||
[s2; Inserts [%-*@3 txt] at [%-*@3 pos].&]
|
||||
[s0;@(64) &]
|
||||
[s5;K:`:`:TextCtrl`:`:Insert`(int`,const`:`:String`&`,`:`:byte`):%- [@(0.0.255) int]_[@0 I
|
||||
nsert]([@(0.0.255) int]_[@3 pos], [@(0.0.255) const]_[^`:`:String^ String]`&_[@3 txt],
|
||||
[^`:`:byte^ byte]_[@3 charset]_`=_CHARSET`_DEFAULT)&]
|
||||
[s2; Inserts [%-*@3 txt] encoded with [%-*@3 charset ]at [%-*@3 pos].&]
|
||||
[s0;@(64) &]
|
||||
[s5;K:`:`:TextCtrl`:`:Insert`(int`,const char`*`):%- [@(0.0.255) int]_[@0 Insert]([@(0.0.255) i
|
||||
nt]_[@3 pos], [@(0.0.255) const]_[@(0.0.255) char]_`*[@3 txt])&]
|
||||
[s2; Inserts [%-*@3 txt] at [%-*@3 pos] using default charset.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Remove`(int`,int`):%- [@(0.0.255) void]_[@0 Remove]([@(0.0.255) int]_
|
||||
[@3 pos], [@(0.0.255) int]_[@3 size])&]
|
||||
[s2; Removes the text.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:NextUndo`(`):%- [@(0.0.255) void]_[@0 NextUndo]()&]
|
||||
[s2; Marks the beginning of next undo block. All text altering operations
|
||||
(inserts and removes) are recorded into undo buffer in sections
|
||||
where each sections represents single user action. NextUndo tells
|
||||
TextCtrl that the next altering operation belongs to the new
|
||||
section. Note that NextUndo does not create a new section (yet);
|
||||
calling it twice without any altering operation in between is
|
||||
the same as calling it once.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Undo`(`):%- [@(0.0.255) void]_[@0 Undo]()&]
|
||||
[s2; Performs undo.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Redo`(`):%- [@(0.0.255) void]_[@0 Redo]()&]
|
||||
[s2; Performs redo.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:IsUndo`(`)const:%- [@(0.0.255) bool]_[@0 IsUndo]()_[@(0.0.255) const]&]
|
||||
[s2; Tests whether there are some undo records.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:IsRedo`(`)const:%- [@(0.0.255) bool]_[@0 IsRedo]()_[@(0.0.255) const]&]
|
||||
[s2; Tests whether there are some redo records.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:ClearUndo`(`):%- [@(0.0.255) void]_[@0 ClearUndo]()&]
|
||||
[s2; Clears all undo and redo records.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:PickUndoData`(`):%- [^`:`:TextCtrl`:`:UndoData^ UndoData]_[@0 PickU
|
||||
ndoData]()&]
|
||||
[s2; Picks undo and redo record. This is useful when single widget
|
||||
is used to edit various text, this allows to change undo/redo
|
||||
records with the text. Must be followed by either SetPickUndoData
|
||||
or ClearUndo before performing any text altering operation.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:SetPickUndoData`(pick`_`:`:TextCtrl`:`:UndoData`&`):%- [@(0.0.255) v
|
||||
oid]_[@0 SetPickUndoData](pick`__[^`:`:TextCtrl`:`:UndoData^ UndoData]`&_[@3 data])&]
|
||||
[s2; Sets the undo/redo records. [%-@3 data] is picked (destroyed)
|
||||
during the operation.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Cut`(`):%- [@(0.0.255) void]_[@0 Cut]()&]
|
||||
[s2; Performs Cut.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Copy`(`):%- [@(0.0.255) void]_[@0 Copy]()&]
|
||||
[s2; Performs Copy.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:Paste`(`):%- [@(0.0.255) void]_[@0 Paste]()&]
|
||||
[s2; Performs Paste.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:SelectAll`(`):%- [@(0.0.255) void]_[@0 SelectAll]()&]
|
||||
[s2; Selects the whole text.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:StdBar`(`:`:Bar`&`):%- [@(0.0.255) void]_[@0 StdBar]([^`:`:Bar^ Bar]`&
|
||||
_[@3 menu])&]
|
||||
[s2; Provides the standard local [%-*@3 menu].&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:SetCharset`(`:`:byte`):%- [@(0.0.255) void]_[@0 SetCharset]([^`:`:byte^ b
|
||||
yte]_[@3 cs])&]
|
||||
[s2; Sets the input character encoding of widget. This character
|
||||
set is used to decide which characters can be entered by the
|
||||
user into the text.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetCharset`(`)const:%- [^`:`:byte^ byte]_[@0 GetCharset]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2; Returns the value set by SetCharset.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:SetColor`(int`,`:`:Color`):%- [@(0.0.255) void]_[@0 SetColor]([@(0.0.255) i
|
||||
nt]_[@3 i], [^`:`:Color^ Color]_[@3 c])&]
|
||||
[s2; Sets one of colors used to display the text.&]
|
||||
[s5;K:`:`:TextCtrl`:`:INK`_NORMAL:@0 &]
|
||||
[ {{4443:5557<288;>864; [s0;%- [+75 TextCtrl`::][*+75 INK`_NORMAL]]
|
||||
:: [s0; [+75 Normal text color.]]
|
||||
:: [s0;%- [+75 TextCtrl`::][*+75 INK`_DISABLED]]
|
||||
:: [s0; [+75 Text color when widget is disabled. ]]
|
||||
:: [s0;%- [+75 TextCtrl`::][*+75 INK`_SELECTED]]
|
||||
:: [s0; [+75 Selected text color.]]
|
||||
:: [s0;%- [+75 TextCtrl`::][*+75 PAPER`_NORMAL]]
|
||||
:: [s0; [+75 Normal paper color.]]
|
||||
:: [s0;%- [+75 TextCtrl`::][*+75 PAPER`_READONLY]]
|
||||
:: [s0; [+75 Paper color when widget is read`-only.]]
|
||||
:: [s0;%- [+75 TextCtrl`::][*+75 PAPER`_SELECTED]]
|
||||
:: [s0; [+75 Selected paper color.]]
|
||||
:: [s0;%- [+75 TextCtrl`::][*+75 COLOR`_COUNT]]
|
||||
:: [s0; [+75 Total number of color indexes.]]}}&]
|
||||
[s0; &]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:GetColor`(int`)const:%- [^`:`:Color^ Color]_[@0 GetColor]([@(0.0.255) i
|
||||
nt]_[@3 i])_[@(0.0.255) const]&]
|
||||
[s2; Gets the color used to display the text.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:UndoSteps`(int`):%- [^`:`:TextCtrl^ TextCtrl]`&_[@0 UndoSteps]([@(0.0.255) i
|
||||
nt]_[@3 n])&]
|
||||
[s2; Sets the maximum number of undo steps.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:ProcessTab`(bool`):%- [^`:`:TextCtrl^ TextCtrl]`&_[@0 ProcessTab]([@(0.0.255) b
|
||||
ool]_[@3 b]_`=_true)&]
|
||||
[s2; If active (default), widget accepts K`_TAB keystrokes (inserts
|
||||
`'`\t`').&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:NoProcessTab`(`):%- [^`:`:TextCtrl^ TextCtrl]`&_[@0 NoProcessTab]()
|
||||
&]
|
||||
[s2; Same as ProcessTab(false).&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:NoBackground`(bool`):%- [^`:`:TextCtrl^ TextCtrl]`&_[@0 NoBackgroun
|
||||
d]([@(0.0.255) bool]_[@3 b]_`=_true)&]
|
||||
[s2; Sets the widget into transparent mode `- background is not painted
|
||||
and Transparent is activated `- a result, anything painted behind
|
||||
the widget is visible, allowing client code to provide any background
|
||||
it needs.&]
|
||||
[s0; &]
|
||||
[s5;K:`:`:TextCtrl`:`:IsProcessTab`(`):%- [@(0.0.255) bool]_[@0 IsProcessTab]()&]
|
||||
[s2; Tests whether ProcessTab mode is active.&]
|
||||
[s0; &]
|
||||
[s0; ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue