diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 19:40:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 19:42:31 +0400 |
commit | ea2043eb3a31468d9afeb1d6cc140567e219565f (patch) | |
tree | 7509c73176efae489bb4aab3a8daadb755007015 /source/blender/editors/include/UI_interface.h | |
parent | 5713d80804de8795a59fc04e95af3f50617adcfa (diff) |
UI: Add support for popups to refresh their layput (D578)
This is needed for popups to chance state once activated,
currently it makes use of operators `check` callback, after values are modified,
as the file selector does already.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 8de9650ddef..480e8f1e7b8 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -380,8 +380,10 @@ void uiPupBlockClose(struct bContext *C, uiBlock *block); * */ uiBlock *uiBeginBlock(const struct bContext *C, struct ARegion *region, const char *name, short dt); +void uiEndBlock_ex(const struct bContext *C, uiBlock *block, const int xy[2]); void uiEndBlock(const struct bContext *C, uiBlock *block); void uiDrawBlock(const struct bContext *C, struct uiBlock *block); +void uiBlockUpdateFromOld(const struct bContext *C, struct uiBlock *block); uiBlock *uiGetBlock(const char *name, struct ARegion *ar); |