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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-04-27 22:05:58 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-04-27 22:05:58 +0400
commit58cdd37f52591dd47962e00c72564f579e1fc4a7 (patch)
tree3f0ef710931e0e4157b7732ab0152bae2ffba3c4 /source/blender/makesdna
parentc36fb8c913dd935239c4a9f641766a642bf1bebf (diff)
UI:
* Made separator item work horizontal & vertical. * Add colon (:) automatic for int/float/enum/string. * Added space variables to uiStyle and use them in the layout engine. * Added initial World buttons by Thomas Dinges, thanks! * Added some code for modifiers in the Object Data context. This will become a template though. * Use a common poll() callback in the scripts to reduce code.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 91c81023c8c..ab2b7ba498a 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -94,8 +94,14 @@ typedef struct uiStyle {
short minlabelchars; /* in characters */
short minwidgetchars; /* in characters */
- int pad;
-
+
+ short columnspace;
+ short templatespace;
+ short boxspace;
+ short buttonspacex;
+ short buttonspacey;
+
+ short pad;
} uiStyle;
typedef struct uiWidgetColors {