text: #ifndef UIMARGINS_H
  #define UIMARGINS_H
  
  #include "uirect.h"
  
  typedef struct UiMargins
  {
      float top;
      float right;
      float left;
      float bottom;
  } UiMargins;
  
  #define UIMARGINS(top, right, left, bottom) (UiMargins){ top, right, left, bottom }
  
  #define SUBTRACT_MARGINS(rect, margins) do {    \
      rect.position.x += margins.left;            \
      rect.position.y += margins.top;             \
      rect.size.x -= margins.right;               \
      rect.size.y -= margins.bottom;              \
  } while (0)
  
  #endif // UIMARGINS_H