Ignore:
Timestamp:
May 14, 2011, 3:06:23 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make some Image methods use vec2i.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/jwindow.cpp

    r649 r650  
    343343                            mx + mouse_pic->Size().x - 1,
    344344                            my + mouse_pic->Size().y - 1);
    345         m_surf->PutImage(mouse_pic, mx, my, 1);
     345        m_surf->PutImage(mouse_pic, vec2i(mx, my), 1);
    346346    }
    347347
     
    352352
    353353    if(has_mouse())
    354         m_surf->PutImage(mouse_save, mx, my);
     354        m_surf->PutImage(mouse_save, vec2i(mx, my));
    355355
    356356    for(p = m_first; p; p = p->next)
     
    364364                                mx - p->x + mouse_pic->Size().x - 1,
    365365                                my - p->y + mouse_pic->Size().y - 1);
    366             p->m_surf->PutImage(mouse_pic, mx - p->x, my - p->y, 1);
     366            p->m_surf->PutImage(mouse_pic, vec2i(mx - p->x, my - p->y), 1);
    367367        }
    368368
     
    375375        update_dirty(p->m_surf, p->x, p->y);
    376376        if(has_mouse())
    377             p->m_surf->PutImage(mouse_save, mx - p->x, my - p->y, 0);
     377            p->m_surf->PutImage(mouse_save, vec2i(mx - p->x, my - p->y), 0);
    378378    }
    379379}
Note: See TracChangeset for help on using the changeset viewer.