SILICON
Loading...
Searching...
No Matches
componentResize.hpp File Reference
#include <QPointF>
#include <QRectF>
#include <array>
#include <core/component.hpp>
Include dependency graph for componentResize.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ComponentResizeState

Namespaces

namespace  SILICON
namespace  SILICON::ui

Enumerations

enum class  ResizeHandle {
  Left , Right , Top , Bottom ,
  TopLeft , TopRight , BottomLeft , BottomRight
}

Functions

bool resizesLeft (ResizeHandle handle)
bool resizesRight (ResizeHandle handle)
bool resizesTop (ResizeHandle handle)
bool resizesBottom (ResizeHandle handle)
QPointF resizeHandlePoint (const QRectF &bounds, ResizeHandle handle)
QPointF resizeAnchor (const QRectF &bounds, ResizeHandle handle)

Variables

constexpr std::array AllResizeHandles