Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_file/space_file.c
| Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | static ARegion *file_tool_props_region_ensure(ScrArea *area, ARegion *region_prev) | ||||
| region->alignment = RGN_ALIGN_RIGHT; | region->alignment = RGN_ALIGN_RIGHT; | ||||
| region->flag = RGN_FLAG_HIDDEN; | region->flag = RGN_FLAG_HIDDEN; | ||||
| return region; | return region; | ||||
| } | } | ||||
| /* ******************** default callbacks for file space ***************** */ | /* ******************** default callbacks for file space ***************** */ | ||||
| static SpaceLink *file_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene)) | static SpaceLink *file_create(const wmWindow *UNUSED(win), const ScrArea *UNUSED(area)) | ||||
| { | { | ||||
| ARegion *region; | ARegion *region; | ||||
| SpaceFile *sfile; | SpaceFile *sfile; | ||||
| sfile = MEM_callocN(sizeof(SpaceFile), "initfile"); | sfile = MEM_callocN(sizeof(SpaceFile), "initfile"); | ||||
| sfile->spacetype = SPACE_FILE; | sfile->spacetype = SPACE_FILE; | ||||
| /* header */ | /* header */ | ||||
| ▲ Show 20 Lines • Show All 1,049 Lines • Show Last 20 Lines | |||||