diff options
author | Matt Ebb <matt@mke3.net> | 2006-12-29 07:46:47 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2006-12-29 07:46:47 +0300 |
commit | 376ee50d3e94c01707ae433e3642ec685e3b25cd (patch) | |
tree | 5c833717be4ef9f7d140d6ac99ddc9171b491fa1 /source/blender/include/BIF_space.h | |
parent | 37c42e2949fc3ed9bdc0e25ab2a79fe8cd573842 (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/include/BIF_space.h')
-rw-r--r-- | source/blender/include/BIF_space.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BIF_space.h b/source/blender/include/BIF_space.h index 1e84dba39cb..884f0459abf 100644 --- a/source/blender/include/BIF_space.h +++ b/source/blender/include/BIF_space.h @@ -84,6 +84,7 @@ struct SpaceOops; #define B_CHANGE_THEME 3306 #define B_THEME_COPY 3307 #define B_THEME_PASTE 3308 +#define B_UPDATE_THEME_ICONS 3309 #define B_RECALCLIGHT 3310 |