27#ifdef SDL2_PLAIN_INCLUDE
237 return (
struct widget *) pwidget;
239 pwidget = pwidget->
next;
260 if ((pwidget->
key ==
key.sym
263 && ((pwidget->
mod &
key.mod) || (pwidget->
mod ==
key.mod))) {
266 return (
struct widget *) pwidget;
269 pwidget = pwidget->
next;
631 if (
gui->prev &&
gui->next) {
632 gui->prev->next =
gui->next;
633 gui->next->prev =
gui->prev;
675 gui->prev->next =
gui->next;
676 gui->next->prev =
gui->prev;
786 &&
tmp_widget->private_data.adv_dlg->scroll) {
793 &&
tmp_widget->private_data.adv_dlg->scroll) {
820 prev = tmp_widget->
prev;
824 if (tmp_widget->
next) {
836 if (tmp_widget == begin_group_widget_list) {
863 struct widget *end_group_widget_list)
965 pwidget = pwidget->
prev;
1056 register int count = 0;
1072 if (((count + 1) %
step) == 0) {
1153 if (pwidget->
gfx && pwidget->
gfx->w == pwidget->
size.w
1154 && 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)
bool is_in_rect_area(int x, int y, SDL_Rect rect)
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)
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)
void flush_rect(SDL_Rect *rect, bool force_flush)
void dirty_sdl_rect(SDL_Rect *Rect)
SDL_Surface * create_text_surf_from_utf8(utf8_str *pstr)
#define fc_calloc(n, esz)
@ COLOR_THEME_QUICK_INFO_TEXT
@ COLOR_THEME_QUICK_INFO_BG
@ COLOR_THEME_QUICK_INFO_FRAME