mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-10 06:12:29 -06:00
RasterPlayer: Replaced Callback
git-svn-id: svn://ultimatepp.org/upp/trunk@15249 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7616b53287
commit
a6764384dc
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ public:
|
|||
RasterPlayer& SetSpeed(double s = 1) {speed = s; Refresh(); return *this;}
|
||||
RasterPlayer& SetMT(bool _mt = false);
|
||||
|
||||
Callback WhenShown;
|
||||
Event<> WhenShown;
|
||||
|
||||
int GetPageCount() {return images.GetCount();};
|
||||
int GetFrameCount() {return images.GetCount();};
|
||||
|
|
|
|||
|
|
@ -112,6 +112,6 @@ program.&]
|
|||
[s3; Sets the active page (frame).&]
|
||||
[s1; &]
|
||||
[s5;%- &]
|
||||
[s6;:RasterPlayer`:`:WhenShown:%- [_^Callback^ Callback]_[* WhenShown]&]
|
||||
[s6;:RasterPlayer`:`:WhenShown:%- [_^Callback^ Event<>]_[* WhenShown]&]
|
||||
[s3; Called when a new picture (page or frame) is shown.&]
|
||||
[s0; ]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue