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-01-15 07:13:38 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-01-15 07:13:38 +0300
commitf08032e8f967e5c5893116fc24c82a18da7bdf79 (patch)
tree2613d1df53164faebf39e5b54b7c8c968d0e255c /source/blender/editors/space_sequencer
parentad50055610298cff793cdde1c01e1bc126398395 (diff)
UI: various changes
* View2D to region now returns ints instead of shorts. * Use "Numpad" instead of "Pad" in automatic keymap menu info. * Menus can now use buttons other than BUTM and SEPR, in particular TOG and ROW are now supported instead of flipping bits manually. * Added a simpler uiDefMenu* api for making menus now, and it only supports Operator and RNA buttons at the moment, will be used in next commit. Not sure how this will evolve .. makes menu code look cleaner anyways. * Ensure that interface code doesn't crash when getting unknown Operators and RNA properties, and display their buttons grayed out in that case.
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 267d1213fc5..e719d0ace2c 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -525,7 +525,7 @@ static void draw_seq_text(View2D *v2d, Sequence *seq, float x1, float x2, float
float v1[2], v2[2];
int len, size;
char str[32 + FILE_MAXDIR+FILE_MAXFILE], *strp;
- short mval[2];
+ int mval[2];
v1[1]= y1;
v2[1]= y2;