1#ifndef GAME_EDITOR_MAPITEMS_LAYER_SOUNDS_H
2#define GAME_EDITOR_MAPITEMS_LAYER_SOUNDS_H
13 void Render(
bool Tileset =
false)
override;
18 void BrushPlace(std::shared_ptr<CLayer> pBrush,
vec2 WorldPos)
override;
25 std::shared_ptr<CLayer>
Duplicate()
const override;
26 const char *
TypeName()
const override;
Definition: layer_sounds.h:7
int BrushGrab(std::shared_ptr< CLayerGroup > pBrush, CUIRect Rect) override
Definition: layer_sounds.cpp:127
void ModifyEnvelopeIndex(FIndexModifyFunction pfnFunc) override
Definition: layer_sounds.cpp:207
void BrushPlace(std::shared_ptr< CLayer > pBrush, vec2 WorldPos) override
Definition: layer_sounds.cpp:153
void ModifySoundIndex(FIndexModifyFunction pfnFunc) override
Definition: layer_sounds.cpp:202
void Render(bool Tileset=false) override
Definition: layer_sounds.cpp:26
CLayerSounds(CEditor *pEditor)
Definition: layer_sounds.cpp:9
CSoundSource * NewSource(int x, int y)
Definition: layer_sounds.cpp:86
int m_Sound
Definition: layer_sounds.h:28
std::vector< CSoundSource > m_vSources
Definition: layer_sounds.h:29
const char * TypeName() const override
Definition: layer_sounds.cpp:221
std::shared_ptr< CLayer > Duplicate() const override
Definition: layer_sounds.cpp:216
CUi::EPopupMenuFunctionResult RenderProperties(CUIRect *pToolbox) override
Definition: layer_sounds.cpp:171
void BrushSelecting(CUIRect Rect) override
Definition: layer_sounds.cpp:113
EPopupMenuFunctionResult
Definition: ui.h:289
std::function< void(int *pIndex)> FIndexModifyFunction
Definition: editor.h:52
Definition: mapitems.h:483