aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp3
-rw-r--r--include/pugl/pugl.h17
2 files changed, 0 insertions, 20 deletions
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
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index 9048709..5ba5a46 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -58,23 +58,6 @@ typedef struct {
PuglSpan height;
} PuglArea;
-/**
- A rectangle in a view or on the screen.
-
- This type is used to describe two things: the position and size of a view
- (for configuring), or a rectangle within a view (for exposing).
-
- The coordinate (0, 0) represents the top-left pixel of the parent window (or
- display if there isn't one), or the top-left pixel of the view,
- respectively.
-*/
-typedef struct {
- PuglCoord x;
- PuglCoord y;
- PuglSpan width;
- PuglSpan height;
-} PuglRect;
-
/// A string property for configuration
typedef enum {
/**