12 s32
id,
const core::rect<s32> &rectangle);
14 virtual void draw()
override;
Definition guiAnimatedImage.h:9
void setTexture(video::ITexture *texture)
Definition guiAnimatedImage.h:16
u64 getFrameDuration() const
Definition guiAnimatedImage.h:23
s32 getFrameCount() const
Definition guiAnimatedImage.h:26
u64 m_global_time
Definition guiAnimatedImage.h:34
s32 m_frame_idx
Definition guiAnimatedImage.h:35
core::rect< s32 > m_middle
Definition guiAnimatedImage.h:40
s32 getFrameIndex() const
Definition guiAnimatedImage.h:29
u64 m_frame_time
Definition guiAnimatedImage.h:38
u64 m_frame_duration
Definition guiAnimatedImage.h:37
core::rect< s32 > getMiddleRect() const
Definition guiAnimatedImage.h:20
s32 m_frame_count
Definition guiAnimatedImage.h:36
virtual void draw() override
Definition guiAnimatedImage.cpp:17
void setFrameCount(s32 count)
Definition guiAnimatedImage.h:25
GUIAnimatedImage(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle)
Definition guiAnimatedImage.cpp:11
void setFrameIndex(s32 frame)
Definition guiAnimatedImage.h:28
void setFrameDuration(u64 duration)
Definition guiAnimatedImage.h:22
video::ITexture * getTexture() const
Definition guiAnimatedImage.h:17
video::ITexture * m_texture
Definition guiAnimatedImage.h:32
void setMiddleRect(const core::rect< s32 > &middle)
Definition guiAnimatedImage.h:19
Definition texturesource.h:25