From 3a97c4056f8b9f663150a988b9aa9647517c33ed Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Thu, 21 Jul 2022 14:55:18 +0200 Subject: Proof of Concept: File Browser thumbnail mode using grid view This was meant as an experiment to see how tangible it is to rewrite the File Browser UI code to be based on views, starting with the grid view for thumbnail mode. See T99890. My initial conclusion is that porting to views is quite doable, but we'll need some further UI code features to make certain things possible. Like big "composed" icons, where a file type icon is displayed on top of a big, generic file icon. There is a fair bit of stuff here that I'm not happy with. Plus things like selection, double clicking to open and renaming don't work yet. It's a start, a proof of concept even :) --- source/blender/blenkernel/BKE_icons.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/BKE_icons.h b/source/blender/blenkernel/BKE_icons.h index 8d9351806c4..4ab3a2ac904 100644 --- a/source/blender/blenkernel/BKE_icons.h +++ b/source/blender/blenkernel/BKE_icons.h @@ -77,7 +77,9 @@ struct PreviewImage; struct StudioLight; struct bGPDlayer; +#ifndef __cplusplus enum eIconSizes; +#endif void BKE_icons_init(int first_dyn_id); -- cgit v1.2.3