diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-18 20:53:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-18 20:53:46 +0400 |
commit | 63f143a3ccf1a411951730f85efbdd84d2076a12 (patch) | |
tree | 6d5fd69566525ab88a685ecf4e82dcdb473e9f11 /source/blender/editors/interface/interface_intern.h | |
parent | 27b4b45543c0f7690a1978a60591a0b5c0f1adbb (diff) |
use rctf struct for UI buttons and blocks, easier to read and means we can use BLI_rctf functions.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 95049857d49..13d05ca617c 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -158,7 +158,7 @@ struct uiBut { char strdata[UI_MAX_NAME_STR]; char drawstr[UI_MAX_DRAW_STR]; - float x1, y1, x2, y2; + rctf rect; char *poin; float hardmin, hardmax, softmin, softmax; @@ -264,8 +264,8 @@ struct uiBlock { char name[UI_MAX_NAME_STR]; float winmat[4][4]; - - float minx, miny, maxx, maxy; + + rctf rect; float aspect; int puphash; /* popup menu hash for memory */ |