mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
Kandinsky: Use KDCoordinateMax
Change-Id: I2b00caec2919496c0b69313f2b4a24b8c69688da
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
typedef int16_t KDCoordinate;
|
||||
#define KDCoordinateMax ((KDCoordinate)((1<<15)-1))
|
||||
|
||||
typedef struct {
|
||||
KDCoordinate x;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
static KDRect sDrawingArea = {
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.width = 9999, // TODO: KDCoordinateMax
|
||||
.height = 9999 // TODO: KDCoordinateMax
|
||||
.width = KDCoordinateMax,
|
||||
.height = KDCoordinateMax
|
||||
};
|
||||
|
||||
void KDSetDrawingArea(KDRect rect) {
|
||||
|
||||
Reference in New Issue
Block a user