clearer resize code
This commit is contained in:
parent
5213823f44
commit
3948bd6f50
3 changed files with 65 additions and 69 deletions
1
ugui.h
1
ugui.h
|
|
@ -8,6 +8,7 @@
|
|||
#define SIZE_PX(x) { .size.i=x, .unit=UG_UNIT_PX }
|
||||
#define SIZE_MM(x) { .size.f=x, .unit=UG_UNIT_MM }
|
||||
#define SIZE_PT(x) { .size.f=x, .unit=UG_UNIT_PT }
|
||||
#define SQUARE(x) .w = x, .h = x
|
||||
|
||||
// basic types
|
||||
typedef unsigned int ug_id_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue