use rctf struct for UI buttons and blocks, easier to read and means we can use BLI_rctf functions.

This commit is contained in:
2012-08-18 16:53:46 +00:00
parent 27b4b45543
commit 63f143a3cc
10 changed files with 308 additions and 315 deletions

View File

@@ -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 */