Blender Git Loki

Git Commits -> Revision d395d84

Revision d395d84 by Julian Eisel (filebrowser_redesign)
July 22, 2019, 14:49 (GMT)
Draw column header in short-list view

Similar to what you know from other file browsers, at the table top
there's a row indicating column names and showing a little triangle to
mark which column is used for sorting. Later, this will become
interactive (to allow selecting sort method by clicking on a column
name).

I decided to hardcode drawing of this (like the rest of the file
browser) and just offset the file layout a bit. However that requires
some hacks for View2D and that the offset is respected in multiple
places. So now I think using a separate region instead makes more sense.
Leaving this as is now, code quality for file browser is pretty low
anyway.

Commit Details:

Full Hash: d395d84c66c4d84c1c3b10062e47ef41d9effd06
Parent Commit: b84bcc3
Lines Changed: +237, -45

5 Modified Paths:

/source/blender/editors/include/ED_fileselect.h (+16, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+57, -17) (Diff)
/source/blender/editors/space_file/file_draw.c (+149, -20) (Diff)
/source/blender/editors/space_file/file_ops.c (+12, -7) (Diff)
/source/blender/editors/space_file/space_file.c (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021