~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/editors/space_file/file_intern.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
struct ARegion *file_buttons_region(struct ScrArea *sa);
42
42
 
43
43
/* file_draw.c */
44
 
#define TILE_BORDER_X (UI_UNIT_X/4)
45
 
#define TILE_BORDER_Y (UI_UNIT_Y/4)
 
44
#define TILE_BORDER_X (UI_UNIT_X / 4)
 
45
#define TILE_BORDER_Y (UI_UNIT_Y / 4)
46
46
 
47
47
/* ui geometry */
48
 
#define IMASEL_BUTTONS_HEIGHT (UI_UNIT_Y*2)
49
 
#define IMASEL_BUTTONS_MARGIN (UI_UNIT_Y/6)
 
48
#define IMASEL_BUTTONS_HEIGHT (UI_UNIT_Y * 2)
 
49
#define IMASEL_BUTTONS_MARGIN (UI_UNIT_Y / 6)
50
50
 
51
51
void file_draw_buttons(const bContext *C, ARegion *ar);
52
52
void file_calc_previews(const bContext *C, ARegion *ar);
66
66
void FILE_OT_select_bookmark(struct wmOperatorType *ot);
67
67
void FILE_OT_bookmark_add(struct wmOperatorType *ot);
68
68
void FILE_OT_delete_bookmark(struct wmOperatorType *ot);
 
69
void FILE_OT_reset_recent(wmOperatorType *ot);
69
70
void FILE_OT_hidedot(struct wmOperatorType *ot);
70
71
void FILE_OT_execute(struct wmOperatorType *ot);
71
72
void FILE_OT_cancel(struct wmOperatorType *ot);
88
89
int file_next_exec(bContext *C, struct wmOperator *unused);
89
90
int file_filename_exec(bContext *C, struct wmOperator *unused);
90
91
int file_directory_exec(bContext *C, struct wmOperator *unused);
91
 
int file_directory_new_exec(bContext *C,struct wmOperator *unused);
 
92
int file_directory_new_exec(bContext *C, struct wmOperator *unused);
92
93
int file_delete_exec(bContext *C, struct wmOperator *unused);
93
94
 
94
 
int file_hilight_set(struct SpaceFile *sfile, struct ARegion *ar, int mx, int my);
 
95
int file_highlight_set(struct SpaceFile *sfile, struct ARegion *ar, int mx, int my);
95
96
 
96
97
void file_sfile_to_operator(struct wmOperator *op, struct SpaceFile *sfile, char *filepath);
97
98
void file_operator_to_sfile(struct SpaceFile *sfile, struct wmOperator *op);
98
99
 
99
100
 
100
101
/* filesel.c */
101
 
float file_shorten_string(char* string, float w, int front);
102
 
float file_string_width(const char* str);
 
102
float file_shorten_string(char *string, float w, int front);
 
103
float file_string_width(const char *str);
103
104
 
104
105
float file_font_pointsize(void);
105
106
void file_change_dir(bContext *C, int checkdir);
106
 
int file_select_match(struct SpaceFile *sfile, const char *pattern);
 
107
int file_select_match(struct SpaceFile *sfile, const char *pattern, char *matched_file);
107
108
void autocomplete_directory(struct bContext *C, char *str, void *arg_v);
108
109
void autocomplete_file(struct bContext *C, char *str, void *arg_v);
109
110