aboutsummaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index 3a2663b..8497c50 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -22,6 +22,10 @@ PUGL_BEGIN_DECLS
bool
puglIsValidPosition(int x, int y);
+/// Return true if `width`,`height` is a valid position
+bool
+puglIsValidSize(unsigned x, unsigned y);
+
/// Return true if `size` is a valid view size
bool
puglIsValidArea(PuglArea size);