diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-28 14:27:25 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-28 14:27:25 +0300 |
commit | 4a1a8271c1666727d6b5784dd468751fff0820bd (patch) | |
tree | 1b1b803cb36143fc52d65b0e8bc40f451d974077 /source/blender/editors/space_file/file_intern.h | |
parent | 5b14573d0b702f08a656b04285a7a8281cdbdca5 (diff) |
2.5
Filewindow: restored some usability issues :)
(Andrea: Hope you're OK, I needed to test stuff, and
file open was a pain!)
- F1: shows last saved/opened file now
- Enter key loads, ESC cancels
- Hilites on mousemove now show same theme colors as before
- Enabled intended roundbox draw (was added to UI api)
- Tweaked roundbox hilites to nicely surround text
- Text was drawing too close to collumn dividers
- Brought back missing glDisable(GL_BLEND), messed with draw
- On file-open, mouse position is used to show active file
Diffstat (limited to 'source/blender/editors/space_file/file_intern.h')
-rw-r--r-- | source/blender/editors/space_file/file_intern.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/file_intern.h b/source/blender/editors/space_file/file_intern.h index a551832772b..4f9e6681e6d 100644 --- a/source/blender/editors/space_file/file_intern.h +++ b/source/blender/editors/space_file/file_intern.h @@ -47,12 +47,20 @@ void file_draw_fsmenu(const bContext *C, ARegion *ar); /* file_ops.h */ struct wmOperatorType; +struct wmOperator; +struct wmEvent; void ED_FILE_OT_highlight(struct wmOperatorType *ot); void ED_FILE_OT_select(struct wmOperatorType *ot); void ED_FILE_OT_select_all(struct wmOperatorType *ot); void ED_FILE_OT_border_select(struct wmOperatorType *ot); void ED_FILE_OT_select_bookmark(struct wmOperatorType *ot); void ED_FILE_OT_loadimages(struct wmOperatorType *ot); +void ED_FILE_OT_load(struct wmOperatorType *ot); +void ED_FILE_OT_cancel(struct wmOperatorType *ot); + +int file_load_exec(bContext *C, struct wmOperator *unused); +int file_cancel_exec(bContext *C, struct wmOperator *unused); +int file_hilight_set(SpaceFile *sfile, ARegion *ar, int mx, int my); #endif /* ED_FILE_INTERN_H */ |