Results 23 comments of thisdp

> maybe we should focus on fixing "core issue" - you use "tocolor" because "dxDraw" functions need to be called every frame, what if, we design some "widget system" where...

> maybe we should focus on fixing "core issue" - you use "tocolor" because "dxDraw" functions need to be called every frame, what if, we design some "widget system" where...

> or, just learn to use hex instead of tocolor? > > ```lua > tocolor(255, 255, 255, 255) == 0xFFFFFFFF > ``` > > The hex format is `0xAARRGGBB` FF...

Maybe implementing gifSetShowingFrame instead of gifNavigateToThumbnail will be better. And isGifPlaying should be gifIsPlaying

> ```lua > gifPlay > ``` then, maybe we can specify the first frame in gifPlay or gifStop, in this way gifNavigateToThumbnail can be removed.

> then can i return `gifGetFrameCount` and `gifGetShowingFrame`? maybe gifGetDetails, or gifGetProperty/gifSetProperty

> ah yeah your right this one is better i will do it now gifGetProperty(gif,"delay") gifSetProperty(gif,"delay",100)

> delay works per frame i mean each frame has a different delay like `gifSetFrameDelay(gif, frame, delay)` then, maybe gifSetProperty(gif,frame,"delay",100) for frame property. If frame is not specified, the property...

> and i think it is better we set showing frame with `gifSetProperty(gif,"showing_frame",frameindex)` too whats your opinion? Good idea

In this way, gifCreate, gifPlay, gifStop and gifIsPlaying will be mainly used functions. For rarely used functions, we can just use gifSetProperty/gifGetProperty.