19#ifdef SDL2_PLAIN_INCLUDE
64 if (
NULL == surface) {
74 dest.y += (surface->h - surface->h) / 2;
77 dest.x += (surface->w - text->w) / 2;
80 dest.x += surface->w - text->w -
adj_size(5);
243 combo->
theme2 = background;
int main_window_width(void)
int alphablit(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect, unsigned char alpha_mod)
struct sdl2_data main_data
struct gui_layer * add_gui_layer(int width, int height)
int main_window_height(void)
#define PRESSED_EVENT(event)
void utf8_str_size(utf8_str *pstr, SDL_Rect *fill)
utf8_str * copy_chars_to_utf8_str(utf8_str *pstr, const char *pchars)
SDL_Surface * create_text_surf_from_utf8(utf8_str *pstr)
#define fc_assert_ret(condition)
size_t strvec_size(const struct strvec *psv)
#define strvec_iterate(psv, str)
#define strvec_iterate_end