Lines Matching defs:back
42 background_done( Background* back )
44 skin_image_unref( &back->image );
48 background_init( Background* back, SkinBackground* sback, SkinLocation* loc, SkinRect* frame )
52 back->image = skin_image_rotate( sback->image, loc->rotation );
57 back->origin = r.pos;
58 skin_rect_intersect( &back->rect, &r, frame );
62 background_redraw( Background* back, SkinRect* rect, SDL_Surface* surface )
66 if (skin_rect_intersect( &r, rect, &back->rect ) )
75 rs.x = r.pos.x - back->origin.x;
76 rs.y = r.pos.y - back->origin.y;
80 SDL_BlitSurface( skin_image_surface(back->image), &rs, surface, &rd );
649 button_init( Button* button, SkinButton* sbutton, SkinLocation* loc, Background* back, SkinRect* frame, SkinLayout* slayout )
654 button->background = back;
911 Background* back = NULL;
914 back = layout->backgrounds + n_backgrounds;
915 background_init( back, part->background, loc, &layout->rect );
926 button_init( button, sbutton, loc, back, &layout->rect, slayout );
1594 Background* back = layout->backgrounds;
1595 Background* end = back + layout->num_backgrounds;
1596 for ( ; back < end; back++ )
1597 background_redraw( back, rect, window->surface );