Ignore:
Timestamp:
Apr 20, 2011, 8:32:26 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: some more vec2i transition for simplicity.

File:
1 edited

Legend:

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

    r512 r513  
    223223void Jwindow::resize(int L, int H)
    224224{
    225   screen->change_size(L,H);
     225  screen->SetSize(vec2i(L,H));
    226226  l=L; h=H;
    227227}
     
    435435        if(h < top_border() + bottom_border())
    436436            h = top_border() + bottom_border();
    437     screen = new image(l, h, NULL, 2);
     437    screen = new image(vec2i(l, h), NULL, 2);
    438438    screen->clear(backg);
    439439    // Keep this from getting destroyed when image list is cleared
Note: See TracChangeset for help on using the changeset viewer.