comparison scn2k/scn2k_grpimpl.cc @ 61:bdd8a5ff8f46

Revert an old change that disabled cursors...
author Thibaut GIRKA <thib@sitedethib.com>
date Fri, 18 Dec 2009 21:07:29 +0100
parents e16e13d8cd68
children 1fd20d231376
comparison
equal deleted inserted replaced
60:e16e13d8cd68 61:bdd8a5ff8f46
514 } 514 }
515 515
516 void Grp::impl_objComposite(Cmd& cmd) {//FIXME 516 void Grp::impl_objComposite(Cmd& cmd) {//FIXME
517 int base_arg = 0; 517 int base_arg = 0;
518 GrpObj* g = GetGraphicObjVarMode(cmd, base_arg, (cmd.cmd2 == 0x51)); 518 GrpObj* g = GetGraphicObjVarMode(cmd, base_arg, (cmd.cmd2 == 0x51));
519 if (cmd.args[base_arg + 1].value == 1) { 519 if (cmd.args[base_arg + 1].value == 1)
520 {
520 g->attr = GrpObj::Attribute(g->attr | GrpObj::BLIT_ADD); 521 g->attr = GrpObj::Attribute(g->attr | GrpObj::BLIT_ADD);
521 cmd.clear(); 522 cmd.clear();
522 } else if (cmd.args[base_arg + 1].value == 0) { 523 }
524 else if (cmd.args[base_arg + 1].value == 0)
525 {
523 g->attr = GrpObj::Attribute(g->attr & (~GrpObj::BLIT_ADD)); 526 g->attr = GrpObj::Attribute(g->attr & (~GrpObj::BLIT_ADD));
524 cmd.clear(); 527 cmd.clear();
525 } 528 }
526 g->SetUpdate(); 529 g->SetUpdate();
527 } 530 }