RasterPlayer: Replaced Callback

git-svn-id: svn://ultimatepp.org/upp/trunk@15249 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2020-10-14 19:10:09 +00:00
parent 7616b53287
commit a6764384dc
2 changed files with 2 additions and 2 deletions

View file

@ -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();};

View file

@ -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; ]]