mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 13:17:08 -04:00
29 lines
546 B
C++
29 lines
546 B
C++
/*
|
|
* Margins.h
|
|
*
|
|
* Created on: 7 mar 2019
|
|
* Author: robert
|
|
*/
|
|
|
|
#ifndef MIDDLEWARES_GUI_WIDGETS_MARGINS_HPP_
|
|
#define MIDDLEWARES_GUI_WIDGETS_MARGINS_HPP_
|
|
|
|
#include "core/Axes.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
|
|
class Margins
|
|
{
|
|
public:
|
|
short left, top, right, bottom;
|
|
short getAlong(Axis axis) const;
|
|
Margins();
|
|
Margins(const short left, const short top, const short right, const short bottom);
|
|
virtual ~Margins();
|
|
};
|
|
|
|
} /* namespace gui */
|
|
|
|
#endif /* MIDDLEWARES_GUI_WIDGETS_MARGINS_HPP_ */
|