diff options
author | Andrea Weikert <elubie@gmx.net> | 2011-03-20 03:34:08 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2011-03-20 03:34:08 +0300 |
commit | ef9356043ea6c093506096116bf879197224aa25 (patch) | |
tree | 7b99090cc588966c5dcafe832ff5fe96a6650257 /source/blender/makesdna/DNA_space_types.h | |
parent | 35dbf67c0019d433ba1be2dc52ced592f591afd1 (diff) |
== file browser ==
Patch from Alexander Kuznetsov: Real-time File Selection, thanks for the contribution.
Still made a few minor changes from latest patch:
1. Rename SELECTEDFILE to HILITED_FILE, since we are not actually selecting the file, but previewing/highliting the possible selection.
2. Also made this clearer by not drawing the files as selected, but just highlight them.
3. Removed the Select/Deselect toggle when clicking on file, will be committed separately soon.
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index b96e1083e8c..e6d1ed59f24 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -188,7 +188,8 @@ typedef struct FileSelectParams { short active_bookmark; int active_file; - int selstate; + int sel_first; + int sel_last; /* short */ /* XXX --- still unused -- */ @@ -728,6 +729,7 @@ enum FileSortTypeE { #define BTXFILE (1<<12) #define COLLADAFILE (1<<13) #define OPERATORFILE (1<<14) /* from filter_glob operator property */ +#define HILITED_FILE (1<<15) /* SpaceImage->dt_uv */ #define SI_UVDT_OUTLINE 0 |