SDLPP: add option to get SRC rect of texture
This commit is contained in:
@@ -111,6 +111,7 @@ public:
|
||||
void setTextureAlpha( uint8_t alpha );
|
||||
void setTextureSourceRect( const SDL_Rect &source_rect );
|
||||
void setTextureSourceRect( int x, int y, int w, int h );
|
||||
SDL_Rect getTextureSourceRect() const;
|
||||
void setAnimationFrames( const std::vector< SDL_Rect > &frames );
|
||||
void addAnimationFrame( const SDL_Rect &frame );
|
||||
void addAnimationFrame( const int x, const int y, const int w,
|
||||
|
||||
Reference in New Issue
Block a user