From 45d36b04b8998af3e939b24d3e6a9cd7e504800b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 8 Feb 2025 16:49:49 -0500 Subject: Remove PuglRect entirely This is no longer used internally, and overall, I've found it to be more of a hassle than a convenience in client code. It's also arguably questionable to have a "flat" rectangle when point and area types exist (compare with NSRect, for example). Also towards fully separating position from size and discouraging the joining of them in general, towards Wayland and to discourage common plugin GUI bugs. --- bindings/cpp/include/pugl/pugl.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'bindings/cpp/include') diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index 81a7c1f..eba2583 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -78,9 +78,6 @@ using Point = PuglPoint; /// @copydoc PuglArea using Area = PuglArea; -/// @copydoc PuglRect -using Rect = PuglRect; - /// @copydoc PuglStringHint enum class StringHint { className = 1, ///< @copydoc PUGL_CLASS_NAME -- cgit v1.2.1