Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_fileselect.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| int icon; | int icon; | ||||
| } FSMenuEntry; | } FSMenuEntry; | ||||
| typedef enum FSMenuCategory { | typedef enum FSMenuCategory { | ||||
| FS_CATEGORY_SYSTEM, | FS_CATEGORY_SYSTEM, | ||||
| FS_CATEGORY_SYSTEM_BOOKMARKS, | FS_CATEGORY_SYSTEM_BOOKMARKS, | ||||
| FS_CATEGORY_BOOKMARKS, | FS_CATEGORY_BOOKMARKS, | ||||
| FS_CATEGORY_RECENT, | FS_CATEGORY_RECENT, | ||||
| /* For internal use, a list of known paths that are used to match names and icons. */ | |||||
| FS_CATEGORY_OTHER, | |||||
brecht: Use the same prefix for the entire enum. This also does not seem to be a "cache" in typical… | |||||
| } FSMenuCategory; | } FSMenuCategory; | ||||
| typedef enum FSMenuInsert { | typedef enum FSMenuInsert { | ||||
| FS_INSERT_SORTED = (1 << 0), | FS_INSERT_SORTED = (1 << 0), | ||||
| FS_INSERT_SAVE = (1 << 1), | FS_INSERT_SAVE = (1 << 1), | ||||
| /** moves the item to the front of the list when its not already there */ | /** moves the item to the front of the list when its not already there */ | ||||
| FS_INSERT_FIRST = (1 << 2), | FS_INSERT_FIRST = (1 << 2), | ||||
| /** just append to preseve delivered order */ | /** just append to preseve delivered order */ | ||||
| Show All 30 Lines | |||||
Use the same prefix for the entire enum. This also does not seem to be a "cache" in typical programming terminology.
Maybe FS_CATEGORY_OTHER would be better.