added blitRect to api
This commit is contained in:
parent
32dc04c780
commit
baf2c0da7f
2 changed files with 20 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ int GFX_truncateDisplayName(const char* in_name, char* out_name, int max_width);
|
|||
// NOTE: all dimensions should be pre-scaled
|
||||
void GFX_blitAsset(int asset, SDL_Rect* src_rect, SDL_Surface* dst, SDL_Rect* dst_rect);
|
||||
void GFX_blitPill(int asset, SDL_Surface* dst, SDL_Rect* dst_rect);
|
||||
void GFX_blitRect(int asset, SDL_Surface* dst, SDL_Rect* dst_rect);
|
||||
void GFX_blitBattery(SDL_Surface* dst, SDL_Rect* dst_rect);
|
||||
int GFX_getButtonWidth(char* hint, char* button);
|
||||
void GFX_blitButton(char* hint, char*button, SDL_Surface* dst, SDL_Rect* dst_rect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue