/** Check if row direction is available to resize from it *\param c Client pointer *\param g Client pointer *\param p Position *\return True if available */ static bool _split_check_row_dir(Client *c, Client *g, Position p) { int s = 0, cs; Geo cgeo = c->frame_geo; Client *cc = tiled_client(c->screen, SLIST_FIRST(&clients)); cs = (LDIR(p) ? g->frame_geo.height : g->frame_geo.width); for(; cc; cc = tiled_client(c->screen, SLIST_NEXT(cc, next))) if(CFACTOR_PARENTROW(cgeo, cc->frame_geo, RPOS(p)) && SPLIT_CHECK_ROW(cc->frame_geo, g->frame_geo, p)) { s += (LDIR(p) ? cc->frame_geo.height : cc->frame_geo.width); if(s == cs) return True; if(s > cs) return False; } return False; }
/** Arrange size of parent client of last closed client */ static void _split_arrange_size(Geo g, Geo *cg, Position p) { if(LDIR(p)) cg->width += FRAMEW(g.width); else cg->height += FRAMEH(g.height); if(p == Right) cg->x -= FRAMEW(g.width); if(p == Bottom) cg->y -= FRAMEH(g.height); return; }
/*LDIR*/ static void op_ED_0xb0(Z80EX_CONTEXT *cpu) { LDIR(/*t:*/ /*t1*/12,/*t2*/17, /*rd*/4, /*wr*/7); return; }
/*LDIR*/ static void op_ED_0xb0(void) { LDIR(/*t:*/ /*t1*/12,/*t2*/17, /*rd*/4, /*wr*/7); return; }