Update project version to 2.2.2, Noto fonts and emoji support. (#1720)
This commit is contained in:
@ -58,6 +58,17 @@ public:
|
||||
*/
|
||||
void SetLoopCount(int32_t count);
|
||||
|
||||
/**
|
||||
* Get loop delay in milliseconds (delay between loops)
|
||||
*/
|
||||
uint32_t GetLoopDelay() const;
|
||||
|
||||
/**
|
||||
* Set loop delay in milliseconds (delay between loops)
|
||||
* @param delay_ms Delay in milliseconds before starting next loop. 0 means no delay.
|
||||
*/
|
||||
void SetLoopDelay(uint32_t delay_ms);
|
||||
|
||||
/**
|
||||
* Get GIF dimensions
|
||||
*/
|
||||
@ -86,6 +97,11 @@ private:
|
||||
bool playing_;
|
||||
bool loaded_;
|
||||
|
||||
// Loop delay configuration
|
||||
uint32_t loop_delay_ms_; // Delay between loops in milliseconds
|
||||
bool loop_waiting_; // Whether we're waiting for the next loop
|
||||
uint32_t loop_wait_start_; // Timestamp when loop wait started
|
||||
|
||||
// Frame update callback
|
||||
std::function<void()> frame_callback_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user