ultimatepp/uppsrc/CtrlLib/src.tpp/ToolBar$en-us.tpp
cxl e7797554fc .developing hidpi
git-svn-id: svn://ultimatepp.org/upp/trunk@8475 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-05-26 13:16:43 +00:00

74 lines
No EOL
4.5 KiB
C++

topic "ToolBar";
[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]
[{_}
[ {{10000@3 [s0;%% [*@(229)4 ToolBar]]}}&]
[s3; &]
[s1;:ToolBar`:`:class: [@(0.0.255)3 class][3 _][*3 ToolBar][3 _:_][@(0.0.255)3 public][3 _][*@3;3 Ba
rCtrl]&]
[s0;%% &]
[s2;%%
@@image:2300&162
(A3ABGgAAAOb/AAAAAHic7Z3NbhMxEID9frwDj8CV6155A7hz4IAQEkLcIKhFgAKoFSAiThQQtCJCkSpAVJWMqYlx/Tsee9eTdKxP0Wa7ntjenS+Ou02XR4slwzAMwzAMlp3Z3Qf3bt6+daMIVUVV7N54hmHooJygOPx6cHy8kuCiDlZVdN10/CvX7hCk+7AzTJbuaYJATTOUGeAmsYuqqKpnxwQXfLzCPmE2AoK5ky6qweqTS9HMxC6qoqrefUzm71fX73+EoI6U7BMaiHXp3pJg28qrDM6jHSf40yzdfYLILCWEmlek4BPdHQjqSMk+IYCdsNSU0kp0OkJNnO4+QWSW7ZNBCLNhtu39fiHik+eL7xDYJwTZGp84kxDjE39yApyiUPBJaWYZn2hppB/9gvCJOB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)
&]
[s0;%% &]
[s9;%% This class provides tool`-bars.&]
[s3;%% &]
[s0; &]
[ {{10000F(128)G(128)@1 [s0;%% [* Public Method List]]}}&]
[s3; &]
[s5;:ToolBar`:`:Set`(Callback1`<Bar`&`>`): [@(0.0.255) void]_[* Set]([_^topic`:`/`/Core`/src`/Callbacks`$en`-us`#Callback1`:`:class^ C
allback1][@(0.0.255) <]Bar[@(0.0.255) `&>]_[*@3 bar])&]
[s2;%% This method sets the new content to the ToolBar. Content should
always be provided as Bar routine `- items should never be Add
directly. You should call this each time status of any ToolBar
button changes. ToolBar contains smart refresh logic so that
only items actually changed are repainted.&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:Post`(Callback1`<Bar`&`>`): [@(0.0.255) void]_[* Post]([_^topic`:`/`/Core`/src`/Callbacks`$en`-us`#Callback1`:`:class^ C
allback1][@(0.0.255) <]Bar[@(0.0.255) `&>]_[*@3 bar])&]
[s2;%% Deprecated `- do not use.&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:ButtonMinSize`(Size`): [_^ToolBar^ ToolBar][@(0.0.255) `&]_[* ButtonMinSize
]([_^Size^ Size]_[*@3 sz])&]
[s2;%% Sets the minimal size of standard ToolBar button.&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:MaxIconSize`(Size`): [_^ToolBar^ ToolBar][@(0.0.255) `&]_[* MaxIconSize]([_^Size^ S
ize]_[*@3 sz])&]
[s2;%% Sets the maximum size of an icon displayed in a button from
the toolbar to [%-*@3 sz].&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:StyleDefault`(`): [@(0.0.255) static] [@(0.0.255) const]_[_^ToolBar`:`:Style^ S
tyle][@(0.0.255) `&]_[* StyleDefault]()&]
[s2;%% Returns the default style used to paint a ToolBar.&]
[s3; &]
[s4; &]
[s5;:ToolBar`:`:SetStyle`(const ToolBar`:`:Style`&`): [_^ToolBar^ ToolBar][@(0.0.255) `&]_
[* SetStyle]([@(0.0.255) const]_[_^ToolBar`:`:Style^ Style][@(0.0.255) `&]_[*@3 s])&]
[s2;%% Sets the visual style to ToolBar`::Style [%-*@3 s].&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:GetStdHeight`(`): [@(0.0.255) static] [@(0.0.255) int]_[* GetStdHeight]()&]
[s2;%% Returns the standard height of a toolbar when used as a frame.
Not that this is only valid for toolbar with normal sized icons.&]
[s3; &]
[s0; &]
[ {{10000@3 [s0;%% [*@(229)4 ToolBar`::Style]]}}&]
[s3;%% &]
[s1;:ToolBar`:`:Style`:`:struct: [@(0.0.255)3 struct][3 _][*3 Style][3 _:_][@(0.0.255)3 public][3 _
][*@3;3 ChStyle][@(0.0.255)3 <][*3 Style][@(0.0.255)3 >][3 _]&]
[s9;%% This structure defines the visual style of a ToolBar.&]
[s3; &]
[s0; ]]