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:
authorRob Haarsma <phaseIV@zonnet.nl>2003-05-10 14:36:14 +0400
committerRob Haarsma <phaseIV@zonnet.nl>2003-05-10 14:36:14 +0400
commit950504c016167d3336a7a96f767fa935ab71e092 (patch)
treed4c618f55d24add2e29895af65fd9aaec8316f7a /source/blender/include/interface.h
parent37d32099d655bea114dc29b4e6eee245e6b69150 (diff)
added Matt Ebb's new windowtype button
Diffstat (limited to 'source/blender/include/interface.h')
-rw-r--r--source/blender/include/interface.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/include/interface.h b/source/blender/include/interface.h
index 79e0d5990c4..174093e727a 100644
--- a/source/blender/include/interface.h
+++ b/source/blender/include/interface.h
@@ -35,7 +35,7 @@
/* general defines */
-#define UI_MAX_DRAW_STR 180
+#define UI_MAX_DRAW_STR 400
#define UI_MAX_NAME_STR 64
#define UI_ARRAY 29
@@ -78,6 +78,7 @@
#define LINK (22<<9)
#define INLINK (23<<9)
#define KEYEVT (24<<9)
+#define ICONTEXTROW (25<<9)
#define BUTTYPE (31<<9)
@@ -98,6 +99,10 @@
#define UI_ACTIVE 4
#define UI_HAS_ICON 8
#define UI_TEXT_LEFT 16
+/* definitions for icons (and their alignment) in buttons */
+#define UI_ICON_LEFT 32
+#define UI_ICON_RIGHT 64
+/* definitions for icons (and their alignment) in buttons */
/* uiBlock->flag */
#define UI_BLOCK_LOOP 1
@@ -115,6 +120,7 @@
#define UI_EMBOSSF 3 /* Square embossed button */
#define UI_EMBOSSM 4 /* Colored Border */
#define UI_EMBOSSP 5 /* Borderless coloured button */
+#define UI_EMBOSSA 6 /* same as EMBOSSX but with arrows to simulate */
/* uiBlock->direction */
#define UI_TOP 0