1#ifndef GAME_EDITOR_MAPITEMS_LAYER_QUADS_H
2#define GAME_EDITOR_MAPITEMS_LAYER_QUADS_H
13 void Render(
bool QuadPicker =
false)
override;
19 void BrushPlace(std::shared_ptr<CLayer> pBrush,
vec2 WorldPos)
override;
29 void GetSize(
float *pWidth,
float *pHeight)
override;
30 std::shared_ptr<CLayer>
Duplicate()
const override;
31 const char *
TypeName()
const override;
Definition: layer_quads.h:7
void BrushSelecting(CUIRect Rect) override
Definition: layer_quads.cpp:97
void BrushRotate(float Amount) override
Definition: layer_quads.cpp:190
void Render(bool QuadPicker=false) override
Definition: layer_quads.cpp:27
int SwapQuads(int Index0, int Index1)
Definition: layer_quads.cpp:274
int BrushGrab(std::shared_ptr< CLayerGroup > pBrush, CUIRect Rect) override
Definition: layer_quads.cpp:111
CQuad * NewQuad(int x, int y, int Width, int Height)
Definition: layer_quads.cpp:39
const char * TypeName() const override
Definition: layer_quads.cpp:287
void GetSize(float *pWidth, float *pHeight) override
Definition: layer_quads.cpp:209
void BrushFlipX() override
Definition: layer_quads.cpp:162
CLayerQuads(CEditor *pEditor)
Definition: layer_quads.cpp:10
void BrushFlipY() override
Definition: layer_quads.cpp:172
void ModifyImageIndex(FIndexModifyFunction pfnFunc) override
Definition: layer_quads.cpp:255
std::vector< CQuad > m_vQuads
Definition: layer_quads.h:34
std::shared_ptr< CLayer > Duplicate() const override
Definition: layer_quads.cpp:269
int m_Image
Definition: layer_quads.h:33
CUi::EPopupMenuFunctionResult RenderProperties(CUIRect *pToolbox) override
Definition: layer_quads.cpp:224
void ModifyEnvelopeIndex(FIndexModifyFunction pfnFunc) override
Definition: layer_quads.cpp:260
void BrushPlace(std::shared_ptr< CLayer > pBrush, vec2 WorldPos) override
Definition: layer_quads.cpp:141
EPopupMenuFunctionResult
Definition: ui.h:289
std::function< void(int *pIndex)> FIndexModifyFunction
Definition: editor.h:52
Definition: mapitems.h:223