Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __SDL_Surfaceext_h
- #define __SDL_Surfaceext_h
- #include "sdl_gen.h"
- void text_print_char( int x, int y, int c, color_t color, SDL_Surface* t );
- void text_print_str( int x, int y, char* str, color_t color, SDL_Surface* t );
- void text_print_int( int x, int y, int n, color_t color, SDL_Surface* t );
- void text_print_int_with_info( int x, int y, int n, char* prefix, color_t color, SDL_Surface* t );
- void text_print_str_double( int x, int y, char* s1, char* s2, color_t color, SDL_Surface* t );
- int text_len_get( char* str, int* w, int* h );
- void text_print_two_items_float( int x, int y, char* p1, float n1, char* p2, float n2, color_t color, SDL_Surface* t );
- void text_print__str_float_float( int x, int y, char* str, float f1, float f2, color_t color, SDL_Surface* t );
- void text_print__str_u32_u32( int x, int y, char* str, u32 n1, u32 n2, color_t color, SDL_Surface* t );
- void text_print__str_int_str_int( int x, int y, char* s1, int i1, char* s2, int i2, color_t color, SDL_Surface* surf );
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement