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:
authorAndrea Weikert <elubie@gmx.net>2009-07-26 16:40:44 +0400
committerAndrea Weikert <elubie@gmx.net>2009-07-26 16:40:44 +0400
commit569bb8f47d62f40004f87a4862d87b4b1937fecb (patch)
tree711a09a5f18a2503310e12f395f92a254a722d9b /source/blender/editors/include/ED_fileselect.h
parent4e024a1e6e41640d2f70624bb15778dc6a6c6695 (diff)
2.5 filebrowser
Bugfixes: * crash when loading file that has filebrowser open * file size over 2GB/4GB? shows negative number Other: * tried to improve drawing speed a bit by only drawing the files actually shown and improving refresh behaviour a bit. Note: Solution I found so far is to use the non-standard _stat64, as far as I could see, WIN64 should work without that patch (Genscher, please check and if needed you can enable this too by removing the !defined(WIN64) ) This probably needs to be fixed in at least one other place (BLI_filesize), will look into this once this fix proves stable enough)
Diffstat (limited to 'source/blender/editors/include/ED_fileselect.h')
-rw-r--r--source/blender/editors/include/ED_fileselect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_fileselect.h b/source/blender/editors/include/ED_fileselect.h
index 1b8524eea33..5cd789d4875 100644
--- a/source/blender/editors/include/ED_fileselect.h
+++ b/source/blender/editors/include/ED_fileselect.h
@@ -64,6 +64,7 @@ typedef struct FileLayout
short width;
short height;
short flag;
+ short dirty;
float column_widths[MAX_FILE_COLUMN];
} FileLayout;
@@ -80,6 +81,7 @@ void ED_fileselect_init_layout(struct SpaceFile *sfile, struct ARegion *ar);
FileLayout* ED_fileselect_get_layout(struct SpaceFile *sfile, struct ARegion *ar);
+int ED_fileselect_layout_numfiles(FileLayout* layout, struct ARegion *ar);
int ED_fileselect_layout_offset(FileLayout* layout, int x, int y);
void ED_fileselect_layout_tilepos(FileLayout* layout, int tile, short *x, short *y);