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:
authorMatt Ebb <matt@mke3.net>2006-12-29 07:46:47 +0300
committerMatt Ebb <matt@mke3.net>2006-12-29 07:46:47 +0300
commit376ee50d3e94c01707ae433e3642ec685e3b25cd (patch)
tree5c833717be4ef9f7d140d6ac99ddc9171b491fa1 /source/blender/makesdna/DNA_userdef_types.h
parent37c42e2949fc3ed9bdc0e25ab2a79fe8cd573842 (diff)
* Dynamic icon file loading and themeability
This patch allows icon files (.png) to be loaded into Blender dynamically, without having to go through the tedious and technical process of compiling them in. It also makes them part of the theme settings so they can be attached as part of a theme and saved in the default .B.blend. Icon files should be stored in $HOME/.blender/icons/ . This really sucks on Mac since it's hidden in the finder, but it's a separate issue. We need a better system of finding things like this, python scripts etc, perhaps a nice wrapped function something like BLI_getresourcedir(), then it's easy to do platform specific stuff there, like using ~/Library/Application Data on Mac. More info and docs in the patch tracker @ https://projects.blender.org/tracker/index.php?func=detail&aid=5334&group_id=9&atid=127
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 4394dec339c..53570a80220 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -61,7 +61,8 @@ typedef struct ThemeUI {
char menu_text_hi[4];
char but_drawtype;
- char pad1[3];
+ char pad[3];
+ char iconfile[80]; // FILE_MAXFILE length
} ThemeUI;