27#ifdef SDL2_PLAIN_INCLUDE
233 .w = pwidget->
size.w,
234 .h = pwidget->
size.h};
238 return (
struct widget *) pwidget;
240 pwidget = pwidget->
next;
261 if ((pwidget->
key ==
key.sym
264 && ((pwidget->
mod &
key.mod) || (pwidget->
mod ==
key.mod))) {
267 return (
struct widget *) pwidget;
270 pwidget = pwidget->
next;
632 if (
gui->prev &&
gui->next) {
633 gui->prev->next =
gui->next;
634 gui->next->prev =
gui->prev;
676 gui->prev->next =
gui->next;
677 gui->next->prev =
gui->prev;
787 &&
tmp_widget->private_data.adv_dlg->scroll) {
794 &&
tmp_widget->private_data.adv_dlg->scroll) {
966 pwidget = pwidget->
prev;
1057 register int count = 0;
1073 if (((count + 1) %
step) == 0) {
1154 if (pwidget->
gfx && pwidget->
gfx->w == pwidget->
size.w
1155 && pwidget->
gfx->h == pwidget->
size.h) {
struct canvas int int struct sprite int int int int height
struct canvas int int struct sprite int int int width
SDL_Color * get_theme_color(enum theme_color themecolor)
SDL_Surface * resize_surface(const SDL_Surface *psrc, Uint16 new_width, Uint16 new_height, int smooth)
int main_window_width(void)
void update_main_screen(void)
void remove_gui_layer(struct gui_layer *gui_layer)
SDL_Surface * create_filled_surface(Uint16 w, Uint16 h, Uint32 flags, SDL_Color *pcolor)
SDL_Surface * crop_rect_from_surface(SDL_Surface *psource, SDL_Rect *prect)
int alphablit(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect, unsigned char alpha_mod)
struct gui_layer * get_gui_layer(SDL_Surface *surface)
bool is_in_rect_area(int x, int y, const SDL_Rect *rect)
int screen_blit(SDL_Surface *src, SDL_Rect *srcrect, SDL_Rect *dstrect, unsigned char alpha_mod)
struct sdl2_data main_data
SDL_Surface * create_surf(int width, int height, Uint32 flags)
int clear_surface(SDL_Surface *surf, SDL_Rect *dstrect)
bool correct_rect_region(SDL_Rect *prect)
void create_frame(SDL_Surface *dest, Sint16 left, Sint16 top, Sint16 width, Sint16 height, SDL_Color *pcolor)
#define PRESSED_EVENT(event)
SDL_Surface * create_text_surf_from_utf8(utf8_str *pstr)
void flush_rect(SDL_Rect *rect, bool force_flush)
void dirty_sdl_rect(SDL_Rect *Rect)
@ COLOR_THEME_QUICK_INFO_TEXT
@ COLOR_THEME_QUICK_INFO_BG
@ COLOR_THEME_QUICK_INFO_FRAME
#define fc_calloc(n, esz)