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:
authorJoshua Leung <aligorith@gmail.com>2009-03-09 12:15:23 +0300
committerJoshua Leung <aligorith@gmail.com>2009-03-09 12:15:23 +0300
commit711d70ec46555cd6ac3699810a807b9f2430fe24 (patch)
tree8bae7e2cbe98a90c78b8eaf41f7ab31adced0437 /source/blender/editors/include/ED_fileselect.h
parent99ef543e56e33777a35ec663d02f162a5ab280c2 (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.h9
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 {