diff options
author | Hans Goudey <h.goudey@me.com> | 2020-08-21 06:38:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-08-21 06:38:39 +0300 |
commit | 4ed8bd88d99da51e42577869a4618ee0b3374608 (patch) | |
tree | 3bc5361d34e9200045e3f496c24f40f642c682f7 /source/blender/editors/interface/interface_intern.h | |
parent | 75aeb4b8813d123a40ae63b5ca47c62749f6e75d (diff) |
UI: Cleanup in interface_panel.c
- Use const in some places where applicable
- Use consistent variable names in some places
- Use "r_" prefix for return arguments
- Declare variables in smaller scope where they are used
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index eb1bd1ba42e..87be3745f87 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -794,8 +794,8 @@ extern int ui_handler_panel_region(struct bContext *C, const struct wmEvent *event, struct ARegion *region, const uiBut *active_but); -extern void ui_draw_aligned_panel(struct uiStyle *style, - uiBlock *block, +extern void ui_draw_aligned_panel(const struct uiStyle *style, + const uiBlock *block, const rcti *rect, const bool show_pin, const bool show_background); |