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
371 stars 35 forks source link

[Suggestion] A keybind window #36

Closed ClangPan closed 2 years ago

ClangPan commented 2 years ago

The option to rebind keys would be nice (and not all features have a keybind assigned to them currently). Maybe also add a key hint to the icons when hovering them as well?

Can put on list. It's a bit of work.

I am aware, this is kind of a luxury right now, take your time!

bluescan commented 2 years ago

About 70% done on this one. Currently have it so that the reset profile calls in the preferences will reset bindings too... not sure if a good idea as you can also reset from the bindings window.

bluescan commented 2 years ago

Note to self: Todo 1) [done] The 'Set All Profiles' button on bindings window. 2) [done] Warning popup if replacing existing binding. 3) [done] Warning if removing shortcut to bring up bindings window. If menu-bar off and no menu binding key could get in situation where impossble to restore without deleting viewer.cfg. SOLN used was ctrl-shift TAB is a permanent binding to take you to the bindings screen. 4) [done] Do not reset binding with the buttons in prefs. Tell user to use the keybindings window if they need to be reset, 5) [done] Menu shortcut keys need to come from keybindings. Show first key bound (since mult keys may bind to same operation).

At this point just need to do a bit more testing b4 closing.

bluescan commented 2 years ago

4b93697ef537628bf352eeb56883c3378dd37015 closes. Note that the changes were extensive enough that a previous version config will be reset on load.