Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-07-05 14:30:47 +0300
committerJulian Eisel <julian@blender.org>2021-07-05 14:35:41 +0300
commit2eca9c7ed4e9819564a7be474e281e6f3b296107 (patch)
treeac44118a04563893aca51d8b84c150f80721c86d /source/blender/editors/space_file/file_intern.h
parent2c6c1b6cc046558519bb8dcfb8ee60401862d7e0 (diff)
Cleanup: Move common File Browser renaming code into functions
Code would manually do the same things in a couple of places, obvious case of unnecessary code duplication.
Diffstat (limited to 'source/blender/editors/space_file/file_intern.h')
-rw-r--r--source/blender/editors/space_file/file_intern.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/file_intern.h b/source/blender/editors/space_file/file_intern.h
index a7c57459729..b2182c45f2a 100644
--- a/source/blender/editors/space_file/file_intern.h
+++ b/source/blender/editors/space_file/file_intern.h
@@ -113,6 +113,13 @@ int file_select_match(struct SpaceFile *sfile, const char *pattern, char *matche
int autocomplete_directory(struct bContext *C, char *str, void *arg_v);
int autocomplete_file(struct bContext *C, char *str, void *arg_v);
+void file_params_smoothscroll_timer_clear(struct wmWindowManager *wm,
+ struct wmWindow *win,
+ SpaceFile *sfile);
+void file_params_renamefile_clear(struct FileSelectParams *params);
+void file_params_invoke_rename_postscroll(struct wmWindowManager *wm,
+ struct wmWindow *win,
+ SpaceFile *sfile);
void file_params_renamefile_activate(struct SpaceFile *sfile, struct FileSelectParams *params);
typedef void *onReloadFnData;