mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:39:10 +02:00
Implements iterating through icons in TTrayIcon
git-svn-id: trunk@27583 -
This commit is contained in:
parent
24af2168c1
commit
e9e423f664
@ -182,6 +182,11 @@ begin
|
|||||||
FIcons.GetBitmap(FCurAnimationStep, lBitmap);
|
FIcons.GetBitmap(FCurAnimationStep, lBitmap);
|
||||||
FIcon.Assign(lBitmap);
|
FIcon.Assign(lBitmap);
|
||||||
InternalUpdate();
|
InternalUpdate();
|
||||||
|
|
||||||
|
// Code to iterate throw the icons
|
||||||
|
Inc(FCurAnimationStep);
|
||||||
|
if FCurAnimationStep >= FIcons.Count then
|
||||||
|
FCurAnimationStep := 0;
|
||||||
finally
|
finally
|
||||||
lBitmap.Free;
|
lBitmap.Free;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user