Home | History | Annotate | Download | only in skin

Lines Matching refs:box

194 skin_box_minmax_init( SkinBox*  box )
196 box->x1 = box->y1 = INT_MAX;
197 box->x2 = box->y2 = INT_MIN;
214 skin_box_minmax_to_rect( SkinBox* box, SkinRect* r )
216 if (box->x1 > box->x2) {
220 skin_box_to_rect( box, r );
225 skin_box_from_rect( SkinBox* box, SkinRect* r )
227 box->x1 = r->pos.x;
228 box->y1 = r->pos.y;
229 box->x2 = r->size.w + box->x1;
230 box->y2 = r->size.h + box->y1;
234 skin_box_to_rect( SkinBox* box, SkinRect* r )
236 r->pos.x = box->x1;
237 r->pos.y = box->y1;
238 r->size.w = box->x2 - box->x1;
239 r->size.h = box->y2 - box->y1;