add move frame buttons
This commit is contained in:
@@ -69,13 +69,14 @@ public:
|
||||
LayerFrame& frame(int frame = -1);
|
||||
void resize(int width, int height);
|
||||
bool create(int width, int height, std::string name);
|
||||
bool add_frame();
|
||||
bool add_frame(int index = -1);
|
||||
void remove_frame(int frame);
|
||||
void duplicate_frame(int frame);
|
||||
void frames_gpu_update();
|
||||
int frames_count() const noexcept { return m_frames.size(); }
|
||||
int frame_duration(int frame) const noexcept { return m_frames[frame].m_duration; }
|
||||
void set_frame_duration(int frame, int duration) noexcept { m_frames[frame].m_duration = duration; }
|
||||
int move_frame_offset(int frame, int offset) noexcept;
|
||||
int total_duration() const noexcept;
|
||||
void goto_frame(int frame) noexcept;
|
||||
void clear(const glm::vec4& c, int frame = -1);
|
||||
|
||||
Reference in New Issue
Block a user