the great text and type rewrite
This commit is contained in:
parent
a220e40d13
commit
d0cc3ad16a
15 changed files with 628 additions and 318 deletions
|
|
@ -25,13 +25,13 @@ import :Types;
|
|||
export namespace Crafter {
|
||||
class GridElement : public Transform {
|
||||
public:
|
||||
std::uint_fast32_t columns;
|
||||
std::uint_fast32_t rows;
|
||||
std::int_fast32_t spacingX;
|
||||
std::int_fast32_t spacingY;
|
||||
std::int_fast32_t paddingX;
|
||||
std::int_fast32_t paddingY;
|
||||
GridElement(std::uint_fast32_t columns, std::uint_fast32_t rows, std::int_fast32_t spacingX, std::int_fast32_t spacingY, std::int_fast32_t paddingX, std::int_fast32_t paddingY, Anchor anchor);
|
||||
std::uint32_t columns;
|
||||
std::uint32_t rows;
|
||||
std::int32_t spacingX;
|
||||
std::int32_t spacingY;
|
||||
std::int32_t paddingX;
|
||||
std::int32_t paddingY;
|
||||
GridElement(std::uint32_t columns, std::uint32_t rows, std::int32_t spacingX, std::int32_t spacingY, std::int32_t paddingX, std::int32_t paddingY, Anchor anchor);
|
||||
void UpdatePositionScaled(Window& window);
|
||||
void UpdatePosition(Window& window) override;
|
||||
void UpdatePosition(Window& window, Transform& parent) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue