bluescan / tacentview

An image and texture viewer for tga, png, apng, exr, dds, pvr, ktx, ktx2, astc, pkm, qoi, gif, hdr, jpg, tif, ico, webp, and bmp files. Uses Dear ImGui, OpenGL, and Tacent. Useful for game devs as it displays information like the presence of an alpha channel and querying specific pixels for their colour.
ISC License
329 stars 32 forks source link

Use bound operator for toolbar. #135

Closed bluescan closed 9 months ago

bluescan commented 9 months ago

In KeyCallback we should separate out the operations into a new function, maybe DoOperation, and call that. All toolbar ops, not just this one, can then call that instead (less duplicated code).