diff options
author | Dalai Felinto <dfelinto> | 2019-11-15 16:05:02 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-11-15 18:10:16 +0300 |
commit | 49db3f6bf10d4b3cabe5f722ff2dd480ce438af6 (patch) | |
tree | 67f969c1c2a449443d2e46d2a39e2aa1cd73f6ea /source/blender/editors/include | |
parent | f641c60530fbd8b79575685cfbdf332e673951b0 (diff) |
Fix: Filebrowser saving dialog size when maximized
Reviewed By: Severin
Differential Revision: https://developer.blender.org/D6260
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_fileselect.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_fileselect.h b/source/blender/editors/include/ED_fileselect.h index 83890c1621c..85b9cf46574 100644 --- a/source/blender/editors/include/ED_fileselect.h +++ b/source/blender/editors/include/ED_fileselect.h @@ -99,7 +99,9 @@ struct FileSelectParams *ED_fileselect_get_params(struct SpaceFile *sfile); short ED_fileselect_set_params(struct SpaceFile *sfile); void ED_fileselect_set_params_from_userdef(struct SpaceFile *sfile); -void ED_fileselect_params_to_userdef(struct SpaceFile *sfile, int temp_win_size[]); +void ED_fileselect_params_to_userdef(struct SpaceFile *sfile, + int temp_win_size[], + const bool is_maximized); void ED_fileselect_reset_params(struct SpaceFile *sfile); @@ -130,6 +132,10 @@ void ED_fileselect_clear(struct wmWindowManager *wm, struct ScrArea *sa, struct void ED_fileselect_exit(struct wmWindowManager *wm, struct ScrArea *sa, struct SpaceFile *sfile); +void ED_fileselect_window_params_get(const struct wmWindow *win, + int win_size[2], + bool *is_maximized); + int ED_path_extension_type(const char *path); int ED_file_extension_icon(const char *path); |