MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / Animate

Method Animate

cppcryptfs/ui/TrayIcon.h:274–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272#define TrayIconTimer 1032
273
274 BOOL Animate(UINT nDelayMilliSeconds, int nNumSeconds=-1) {
275 if(!Icons) return FALSE;
276 StopAnimating();
277 it=Icons;
278 StartTime=CTime::GetCurrentTime();
279 Duration=nNumSeconds;
280 hIcon=GetIcon();
281 TimerID=SetTimer(TrayIconTimer, nDelayMilliSeconds, 0);
282 return TimerID != 0;
283 }
284
285 void StopAnimating() {
286 if(TimerID) KillTimer(TimerID);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected