LeviLamina
Loading...
Searching...
No Matches
NinePatchFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/ResourceLocation.h"
7
8// auto generated forward declare list
9// clang-format off
10class NinePatchLayer;
11struct IntRectangle;
12namespace mce { class TextureGroup; }
13// clang-format on
14
15class NinePatchFactory {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::mce::TextureGroup>> mTextureGroup;
20 ::ll::TypedStorage<8, 56, ::ResourceLocation> mResourceLocation;
21 ::ll::TypedStorage<4, 4, int> mWidth;
22 ::ll::TypedStorage<4, 4, int> mHeight;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 NinePatchFactory();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI
33 NinePatchFactory(::std::shared_ptr<::mce::TextureGroup> textureGroup, ::ResourceLocation const& resourceLocation);
34
35 MCAPI ::std::unique_ptr<::NinePatchLayer>
36 createSymmetrical(::IntRectangle const& src, int xCutAt, int yCutAt, float w, float h);
37
38 MCAPI ~NinePatchFactory();
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCAPI void* $ctor(::std::shared_ptr<::mce::TextureGroup> textureGroup, ::ResourceLocation const& resourceLocation);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCAPI void $dtor();
51 // NOLINTEND
52};
Definition NinePatchFactory.h:5
Definition NinePatchLayer.h:5
Definition TextureGroup.h:7
Definition IntRectangle.h:5