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
344 stars 33 forks source link

[Suggestion] Option to scale the UI / make the font bigger #38

Closed ClangPan closed 1 year ago

ClangPan commented 2 years ago

This is just for accessibility reasons and for people with bigger / smaller monitors.

Also a bit of work... cuz I know there are at least some hardcoded offsets etc for some of the UI widgets/controls.

I haven't looked at a way to solve this either... Probably will be complicated as you say

bluescan commented 1 year ago

Here's a screen at 16pt. 14pt is current. A few, but not crazy issues at 16.

PointSize_16_Screenshot 2022-12-30 232003

18 has more issues... but 14, 16, 18 seem like good targets for small/med/large sizes.

bluescan commented 1 year ago

14, 16, 18 pt working for top menu bar and bottom nav bar as of 1bdef459873c562acea69a30f4ba060759c3a3e4. Am going to need: a) A shortcut command for easy testing (Shift + and Shift - most likely) b) Precompute the font raster images since now 3 ttf point sizes are being processed on load and I don't want startup times to suffer, c) Toolbar buttons now change size, but will also need to increase (for med/large) playback control button sizes, including the buttons in the properties popup. d) Go through all dialog/popups and ensure all 3 sizes work.

bluescan commented 1 year ago

a) Is done in 13c90c64e7b3e82e4512325d7d529471388773e2 c) is done. d) is done. b) will be made into a separate issue.

bluescan commented 1 year ago

c) is done.. both properties window and main playback control. d) has the save-as dialogs done.

FILE MENU Open File... : Done Open Dir... : Done Save... : Done Save As... : Done Save All... : Done Save Contact Sheet... : Done Save Multiframe... : Done Key Bindings... : Done Preferences... : Done

EDIT MENU Rotate Image... : Done Crop ... : Done Resize Image... : Done Resize Canvas... : Done Edit Pixel : Done Channel Filter : Done Image Properties... : Done

VIEW MENU Menu Bar On/Off : Done Nav Bar On/Off : Done Log On/Off : Done lmage Details : Done Image Meta Data : Done Thumbnail View : Done Menu -> View -> Zoom Percent : Done

HELP VIEW Cheat Sheet : Done About : Done

MISC: Overwrite File : Done Next/Prev main side buttons : Done Dialog Start Positions: Done Save Unsupported Type Popup : Done