Ignore:
Timestamp:
May 16, 2011, 2:37:31 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: convert some Jwindow members to vec2i.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/loadgame.cpp

    r668 r671  
    8787    buts[i]->next=buts[i+1];
    8888
    89   return wm->new_window(mx,yres/2-(Jwindow::top_border()+maxih*5)/2,-1,-1,buts[0]);
     89  return wm->CreateWindow(vec2i(mx, yres / 2 - (Jwindow::top_border() + maxih * 5) / 2), vec2i(-1), buts[0]);
    9090}
    9191
     
    232232*/
    233233
    234 
     234    // Create thumbnail window 5 pixels to the right of the list window
    235235    Jwindow *l_win=create_num_window(0,total_saved,MAX_SAVE_LINES,thumbnails);
    236     Jwindow *preview=wm->new_window(l_win->m_pos.x+l_win->l+5,l_win->m_pos.y,max_w,max_h,NULL,title);
     236    Jwindow *preview=wm->CreateWindow(l_win->m_pos + vec2i(l_win->m_size.x + 5, 0), vec2i(max_w, max_h), NULL, title);
    237237
    238238    preview->m_surf->PutImage(first, vec2i(preview->x1(), preview->y1()));
Note: See TracChangeset for help on using the changeset viewer.