9 #ifndef TurtleBrainsExpress_NineSlice_hpp
10 #define TurtleBrainsExpress_NineSlice_hpp
12 #include <turtle_brains/graphics/tb_graphic.hpp>
13 #include <turtle_brains/graphics/tb_sprite.hpp>
17 namespace TurtleBrains::Express::Graphics
67 std::array<tbGraphics::Sprite, 9> mSprites;
74 namespace tbxGraphics = TurtleBrains::Express::Graphics;
Definition: tbx_nine_slice.hpp:24
virtual tbGraphics::PixelSpace GetPixelHeight(void) const override
Definition: tbx_nine_slice.hpp:58
NineSlice(const tbCore::String &spriteSheetName, const tbCore::String &spriteName, tbGraphics::PixelSpace width, tbGraphics::PixelSpace height)
NineSlice(const std::array< tbGraphics::Sprite, 9 > sprites, tbGraphics::PixelSpace width, tbGraphics::PixelSpace height)
virtual tbGraphics::PixelSpace GetPixelWidth(void) const override
Definition: tbx_nine_slice.hpp:57
virtual void OnRender(void) const override
Definition: tb_graphic.hpp:50
std::string String
Definition: tb_string.hpp:302
tbCore::uint16 PixelSpace
Definition: tb_texture_manager.hpp:34