Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_file/fsmenu.h
| Show All 36 Lines | |||||
| * Inserts a new fsmenu entry with the given \a path. | * Inserts a new fsmenu entry with the given \a path. | ||||
| * Duplicate entries are not added. | * Duplicate entries are not added. | ||||
| * \param flag: Options for inserting the entry. | * \param flag: Options for inserting the entry. | ||||
| */ | */ | ||||
| void fsmenu_insert_entry(struct FSMenu *fsmenu, | void fsmenu_insert_entry(struct FSMenu *fsmenu, | ||||
| enum FSMenuCategory category, | enum FSMenuCategory category, | ||||
| const char *path, | const char *path, | ||||
| const char *name, | const char *name, | ||||
| const int icon, | |||||
| const enum FSMenuInsert flag); | const enum FSMenuInsert flag); | ||||
| /** Refresh 'valid' status of given menu entry */ | /** Refresh 'valid' status of given menu entry */ | ||||
| void fsmenu_entry_refresh_valid(struct FSMenuEntry *fsentry); | void fsmenu_entry_refresh_valid(struct FSMenuEntry *fsentry); | ||||
| /** Return whether the entry was created by the user and can be saved and deleted */ | /** Return whether the entry was created by the user and can be saved and deleted */ | ||||
| short fsmenu_can_save(struct FSMenu *fsmenu, enum FSMenuCategory category, int index); | short fsmenu_can_save(struct FSMenu *fsmenu, enum FSMenuCategory category, int index); | ||||
| Show All 27 Lines | |||||