From 44e65f78fca1597471d31a96907d5be465ca1ec1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 22 Jan 2025 18:42:13 -0500 Subject: Factor out puglIsValidPosition() --- src/internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/internal.h') diff --git a/src/internal.h b/src/internal.h index e4296c8..3a2663b 100644 --- a/src/internal.h +++ b/src/internal.h @@ -18,6 +18,10 @@ PUGL_BEGIN_DECLS +/// Return true if `x`,`y` is a valid position +bool +puglIsValidPosition(int x, int y); + /// Return true if `size` is a valid view size bool puglIsValidArea(PuglArea size); -- cgit v1.2.1