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-10-22 00:58:10 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-22 00:58:10 +0400
commit180d74ab572830958ecba6541d3cc7c652fa2296 (patch)
tree62280c60f822b4ab8b111d364187e69310bea6f2 /source/blender/makesdna/DNA_screen_types.h
parent5fb73d8b81fbd1823a6c807714d6b3589e918a3b (diff)
UI: List Template tweaks to get it a bit more usable
* Mouse wheel now scrolls the list. * Up/down key and alt mouse wheel change the active item. * Adding/removing items from the list now automatically scrolls so the active item is in the view. * Shift mouse wheel changes the size of the list widget to display more items. Lazy replacement for a proper grip. * Shape key list now displays the influence value next to the name, * Also fix the range of the value slider to match the defined min/max range.
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index e51da0c0818..b091a0529e7 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -106,6 +106,7 @@ typedef struct Panel { /* the part from uiBlock that needs saved in file */
void *activedata; /* runtime for panel manipulation */
int list_scroll, list_size;
+ int list_last_len, list_grip_size;
char list_search[64];
} Panel;