Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_file/file_intern.h
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
| /* file_draw.c */ | /* file_draw.c */ | ||||
| #define TILE_BORDER_X (UI_UNIT_X / 4) | #define TILE_BORDER_X (UI_UNIT_X / 4) | ||||
| #define TILE_BORDER_Y (UI_UNIT_Y / 4) | #define TILE_BORDER_Y (UI_UNIT_Y / 4) | ||||
| /* ui geometry */ | /* ui geometry */ | ||||
| #define IMASEL_BUTTONS_HEIGHT (UI_UNIT_Y * 2) | #define IMASEL_BUTTONS_HEIGHT (UI_UNIT_Y * 2) | ||||
| #define IMASEL_BUTTONS_MARGIN (UI_UNIT_Y / 6) | #define IMASEL_BUTTONS_MARGIN (UI_UNIT_Y / 6) | ||||
| #define SMALL_SIZE_CHECK(_size) ((_size) < 64) /* Related to FileSelectParams.thumbnail_size. */ | |||||
| void file_draw_buttons(const bContext *C, ARegion *ar); | void file_draw_buttons(const bContext *C, ARegion *ar); | ||||
| void file_calc_previews(const bContext *C, ARegion *ar); | void file_calc_previews(const bContext *C, ARegion *ar); | ||||
| void file_draw_list(const bContext *C, ARegion *ar); | void file_draw_list(const bContext *C, ARegion *ar); | ||||
| void file_draw_check(bContext *C); | void file_draw_check(bContext *C); | ||||
| void file_draw_check_cb(bContext *C, void *arg1, void *arg2); | void file_draw_check_cb(bContext *C, void *arg1, void *arg2); | ||||
| bool file_draw_check_exists(SpaceFile *sfile); | bool file_draw_check_exists(SpaceFile *sfile); | ||||
| ▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines | |||||