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/game.cpp

    r670 r671  
    118118                                     no_space_msg, NULL);
    119119    button *b = new button(0, 0, ID_QUIT_OK, "Quit", inf);
    120     Jwindow *no_space = wm->new_window(0, 0, -1, -1, b, "ERROR");
     120    Jwindow *no_space = wm->CreateWindow(vec2i(0), vec2i(-1), b, "ERROR");
    121121
    122122    Event ev;
     
    16541654                        if(!joy_win)
    16551655                        {
    1656                             joy_win = wm->new_window(80, 50, -1, -1,
     1656                            joy_win = wm->CreateWindow(vec2i(80, 50), vec2i(-1),
    16571657                                    new button(70, 9, JOY_OK, "OK",
    16581658                                    new info_field(0, 30, DEV_NULL,
Note: See TracChangeset for help on using the changeset viewer.