34 #include "../api_display.h"
35 #include "../../Core/Text/string_types.h"
36 #include "../Render/graphic_context.h"
37 #include "../Render/texture.h"
38 #include "../Image/pixel_buffer.h"
41 class CL_SpriteDescription_Impl;
115 const std::vector<CL_SpriteDescriptionFrame> &get_frames()
const;
169 void add_gridclipped_frames(
172 int width,
int height,
173 int xarray = 1,
int yarray = 1,
174 int array_skipframes = 0,
175 int xspacing = 0,
int yspacing = 0);
177 void add_gridclipped_frames(
180 int width,
int height,
181 int xarray = 1,
int yarray = 1,
182 int array_skipframes = 0,
183 int xspacing = 0,
int yspacing = 0);
195 void add_alphaclipped_frames(
197 int xpos = 0,
int ypos = 0,
198 double trans_limit = 0.05f);
200 void add_alphaclipped_frames(
202 int xpos = 0,
int ypos = 0,
203 double trans_limit = 0.05f);
214 void add_alphaclipped_frames_free(
216 int xpos = 0,
int ypos = 0,
217 double trans_limit = 0.05f);
219 void add_alphaclipped_frames_free(
221 int xpos = 0,
int ypos = 0,
222 double trans_limit = 0.05f);
225 void set_frame_delay(
int frame,
double delay);
232 CL_SharedPtr<CL_SpriteDescription_Impl> impl;