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 | |||||
| /* FSMenuEntry's without paths indicate separators */ | /* FSMenuEntry's without paths indicate separators */ | ||||
| typedef struct FSMenuEntry { | typedef struct FSMenuEntry { | ||||
| struct FSMenuEntry *next; | struct FSMenuEntry *next; | ||||
| char *path; | char *path; | ||||
| char name[256]; /* FILE_MAXFILE */ | char name[256]; /* FILE_MAXFILE */ | ||||
| short save; | short save; | ||||
| short valid; | short valid; | ||||
| short pad[2]; | 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, | ||||
| } FSMenuCategory; | } FSMenuCategory; | ||||
| Show All 21 Lines | |||||
| struct FSMenuEntry *ED_fsmenu_get_entry(struct FSMenu *fsmenu, FSMenuCategory category, int index); | struct FSMenuEntry *ED_fsmenu_get_entry(struct FSMenu *fsmenu, FSMenuCategory category, int index); | ||||
| char *ED_fsmenu_entry_get_path(struct FSMenuEntry *fsentry); | char *ED_fsmenu_entry_get_path(struct FSMenuEntry *fsentry); | ||||
| void ED_fsmenu_entry_set_path(struct FSMenuEntry *fsentry, const char *path); | void ED_fsmenu_entry_set_path(struct FSMenuEntry *fsentry, const char *path); | ||||
| char *ED_fsmenu_entry_get_name(struct FSMenuEntry *fsentry); | char *ED_fsmenu_entry_get_name(struct FSMenuEntry *fsentry); | ||||
| void ED_fsmenu_entry_set_name(struct FSMenuEntry *fsentry, const char *name); | void ED_fsmenu_entry_set_name(struct FSMenuEntry *fsentry, const char *name); | ||||
| int ED_fsmenu_entry_get_icon(struct FSMenuEntry *fsentry); | |||||
| void ED_fsmenu_entry_set_icon(struct FSMenuEntry *fsentry, const int icon); | |||||
| #endif /* __ED_FILESELECT_H__ */ | #endif /* __ED_FILESELECT_H__ */ | ||||
| Context not available. | |||||