A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
bool operator!=(const Margin &other) const
Check if this margin contains differing values from another margin.
Definition: margin.h:108
Margin & operator=(const Margin &other)
Assign this margin with the values of another.
Definition: margin.h:94
Margin(int x, int y)
Construct a margin with the left = right and top = bottom.
Definition: margin.h:53
int right
Right margin.
Definition: margin.h:83
int top
Top margin.
Definition: margin.h:79
int bottom
Bottom margin.
Definition: margin.h:87
Margin(const Margin &other)
Copy constructor.
Definition: margin.h:69
bool operator==(const Margin &other) const
Check if this margin contains the same values as another margin.
Definition: margin.h:101
Margin()
Construct a margin with 0 for all measurements.
Definition: margin.h:40
Margin(int all)
Construct a margin with all measurements equal.
Definition: margin.h:46
int left
Left margin.
Definition: margin.h:75
Margin(int l, int t, int r, int b)
Construct a margin with all measurements specified.
Definition: margin.h:62
Class to represent a margin around an area.
Definition: margin.h:35