diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-03-09 12:15:23 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-03-09 12:15:23 +0300 |
commit | 711d70ec46555cd6ac3699810a807b9f2430fe24 (patch) | |
tree | 8bae7e2cbe98a90c78b8eaf41f7ab31adced0437 /source/blender/editors/include/ED_fileselect.h | |
parent | 99ef543e56e33777a35ec663d02f162a5ab280c2 (diff) |
View2D fixes for File Browser: Scrollbars now draw correct.
Elubie, please check on the values for params->display. They were being set to zero by default...
Also, set the correct panning locks for the various views
Diffstat (limited to 'source/blender/editors/include/ED_fileselect.h')
-rw-r--r-- | source/blender/editors/include/ED_fileselect.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_fileselect.h b/source/blender/editors/include/ED_fileselect.h index bb5ced66428..b598175e22e 100644 --- a/source/blender/editors/include/ED_fileselect.h +++ b/source/blender/editors/include/ED_fileselect.h @@ -30,8 +30,15 @@ struct SpaceFile; +// XXX for Elubie: +// defining FILE_LONGDISPLAY as 0 for now, since that seems to be the default case +// for drawing the files (so that scrollbars will draw correct). +// Dunno if these values are saved in files, so hopefully this is ok. +// Revert this change if there's a more correct way to do this +// Aligorith (09Mar2009) +#define FILE_LONGDISPLAY 0 #define FILE_SHORTDISPLAY 1 -#define FILE_LONGDISPLAY 2 +//#define FILE_LONGDISPLAY 2 #define FILE_IMGDISPLAY 3 typedef struct FileSelectParams { |