Commits on Source (6)
-
Truncating a weston coord to integer values is something we do frequently enough to warrant a helper function. Use this in the kiosk and desktop shells where appropriate. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
1f81c082 -
This is stored as an unadorned weston_coord internally, but with getter functions we can put together the appropriate global or surface coordinate. Use them where appropriate. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
d961e59d -
Until now we've only had the unadorned arithmetic functions, but they're easy to abuse and tedious to use. For now, we just add weston_coord_global_add/sub functions and use them where appropriate. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2ac566d2 -
Replace some wl_fixed_t pairs with weston_coord. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
643c9b92 -
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
aea5ca97 -
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
db51409b