public void mmousemove(Coord mc) {
        if(!dm)
            return;
        Coord tc = mc.div(MCache.tileSize);
        Coord c1 = new Coord(0, 0), c2 = new Coord(0, 0);
        if(tc.x < sc.x) {
            c1.x = tc.x;
            c2.x = sc.x;
        } else {
            c1.x = sc.x;
            c2.x = tc.x;			
        }
        if(tc.y < sc.y) {
            c1.y = tc.y;
            c2.y = sc.y;
        } else {
            c1.y = sc.y;
            c2.y = tc.y;			
        }
        ol.update(c1, c2);
        this.c1 = c1;
        this.c2 = c2;
        selectedSize.x = c2.x - c1.x + 1;
        selectedSize.y = c2.y - c1.y + 1;
        text.settext(String.format(fmt, selectedSize.x, selectedSize.y));
    }