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:
authorCampbell Barton <ideasman42@gmail.com>2019-01-04 03:05:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-04 03:06:44 +0300
commit53d655a0b317edf4d05fd163e3ad6f09ec0c2b3b (patch)
treef800a68113b86bd085046deeb09aaca3163a183e /source/blender/editors/interface/interface_intern.h
parent54a4c1cf359c369c8fc16ecf0ecaa92e6f650e2f (diff)
Cleanup: use typed unsigned ints
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r--source/blender/editors/interface/interface_intern.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h
index 98cda801c9d..b0136feaa30 100644
--- a/source/blender/editors/interface/interface_intern.h
+++ b/source/blender/editors/interface/interface_intern.h
@@ -233,7 +233,7 @@ struct uiBut {
*/
float a2;
- unsigned char col[4];
+ uchar col[4];
uiButHandleFunc func;
void *func_arg1;
@@ -271,7 +271,7 @@ struct uiBut {
char dt; /* drawtype: UI_EMBOSS, UI_EMBOSS_NONE ... etc, copied from the block */
signed char pie_dir; /* direction in a pie menu, used for collision detection (RadialDirection) */
bool changed; /* could be made into a single flag */
- unsigned char unit_type; /* so buttons can support unit systems which are not RNA */
+ uchar unit_type; /* so buttons can support unit systems which are not RNA */
short modifier_key;
short iconadd;
@@ -295,7 +295,7 @@ struct uiBut {
struct wmOperatorType *optype;
struct PointerRNA *opptr;
short opcontext;
- unsigned char menu_key; /* 'a'-'z', always lower case */
+ uchar menu_key; /* 'a'-'z', always lower case */
/* Draggable data, type is WM_DRAG_... */
char dragtype;
@@ -378,7 +378,7 @@ struct uiBlock {
rctf rect;
float aspect;
- unsigned int puphash; /* popup menu hash for memory */
+ uint puphash; /* popup menu hash for memory */
uiButHandleFunc func;
void *func_arg1;
@@ -679,7 +679,7 @@ extern void ui_draw_dropshadow(const rctf *rct, float radius, float aspect, floa
void ui_draw_gradient(const rcti *rect, const float hsv[3], const int type, const float alpha);
-void ui_draw_but_TAB_outline(const rcti *rect, float rad, unsigned char highlight[3], unsigned char highlight_fade[3]);
+void ui_draw_but_TAB_outline(const rcti *rect, float rad, uchar highlight[3], uchar highlight_fade[3]);
void ui_draw_but_HISTOGRAM(ARegion *ar, uiBut *but, const struct uiWidgetColors *wcol, const rcti *rect);
void ui_draw_but_WAVEFORM(ARegion *ar, uiBut *but, const struct uiWidgetColors *wcol, const rcti *rect);
void ui_draw_but_VECTORSCOPE(ARegion *ar, uiBut *but, const struct uiWidgetColors *wcol, const rcti *rect);