mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
os: support non-int coordinates in 'Point<>'
This commit is contained in:
parent
f7cacd16a0
commit
579ca1063c
@ -40,8 +40,8 @@ class Genode::Point
|
||||
Point(CT x, CT y): _x(x), _y(y) { }
|
||||
Point(): _x(0), _y(0) { }
|
||||
|
||||
int x() const { return _x; }
|
||||
int y() const { return _y; }
|
||||
CT x() const { return _x; }
|
||||
CT y() const { return _y; }
|
||||
|
||||
/**
|
||||
* Operator for adding points
|
||||
|
Loading…
Reference in New Issue
Block a user