diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-11 05:52:27 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-11 05:52:27 +0400 |
commit | 3ed5e2153796fb633f20d49ce7eac0db6bb82a74 (patch) | |
tree | 3b8d42bb86ae2d28b5c46fd1530d62ccb6c11996 /source/blender/editors/interface/interface_handlers.c | |
parent | 9814ea4bcb46fe0f7d2909b57a43f05b0a1e611a (diff) |
UI:
* Template slots are no longer specified per item, but are
a state now, set with uiTemplateSlot.
* Some renaming of Layout functions for consistency.
* Fix for roundbox in stack template, now is always behind
the other buttons.
* Improved python API for layout:
http://www.pasteall.org/5008/python
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index cebf4f255f8..437948c86e8 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -2832,6 +2832,9 @@ static uiBut *ui_but_find_mouse_over(ARegion *ar, int x, int y) for(but=block->buttons.first; but; but= but->next) { /* give precedence to already activated buttons */ + if(but->flag & UI_NO_HILITE) + continue; + if(ui_but_contains_pt(but, mx, my)) if(!butover || (!butover->active && but->active)) butover= but; |