sikthehedgehog / indigo

Indigo operating system
zlib License
57 stars 4 forks source link

Make File Cabinet use icons #10

Open sikthehedgehog opened 7 years ago

sikthehedgehog commented 7 years ago

Currently the file list in the File Cabinet is just a line of text for each file. The idea works, but it would feel better if each file was an icon instead. The big problem here is that there may not be enough room for the filenames if done this way. Even then, worth looking into.

Since the icon view would show less files than the current view (not to mention only shorter names can be shown without being cut off), it'd be a good idea too if both modes were available (with icon being the default if going this route).

sikthehedgehog commented 7 years ago

Hmmm, the gap at the right was meant mostly for the drive list but I've decided to ditch that already (I'll just add a button that sends to the root directory instead). I was going to put the buttons for commands there but I think I may just reclaim the space, then I could affort to show longer names in an icon view (e.g. with 4 icons per row that'd be 8 tiles worth of width, which is wide enough for about 10 characters without having to shrink the font, or 20 if I reserve space for two lines of text)

I'm still going to need to put buttons somewhere (and Indigo doesn't support menus... yet) so that may need to reclaim some vertical space for a toolbar. On the flipside, that could be used as an excuse to knock down the visible row count to 16, at which point I may as well just reserve half the VRAM for storing filenames \o/ (which helps compensate the longer lines)

Anyway, considering doing this even if icon view doesn't make it in.