Ignore:
Timestamp:
Mar 16, 2008, 2:17:43 AM (11 years ago)
Author:
Sam Hocevar
Message:
  • Simplified the window creation arguments. Got rid of a lot of macros and hid stuff in private namespaces.

Inspired by Win32 Abuse changelog for January 28, 2001:

  • Well, in the process of adding changes necessary to

handle recovery from alt-tabbing away from Abuse
(which is why I was updating jwindow::redraw()),
the entire windowing system is getting an overhaul.
It's gonna be sweet when I'm done, though.

  • jwindow::redraw() has been changed to a virtual

function requiring no parameters. This'll make
it much easier to implement special specific-
purpose windows.

File:
1 edited

Legend:

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

    r106 r111  
    322322  volume_window=wm->new_window(prop->getd("volume_x",xres/2-20),
    323323                               prop->getd("volume_y",yres/2-50),
    324                                41-WINDOW_FRAME_LEFT-WINDOW_FRAME_RIGHT-2,
    325                                101-WINDOW_FRAME_TOP-WINDOW_FRAME_BOTTOM,
     324                               39, 101,
    326325                             new ico_button(10,27,ID_SFX_DOWN,d_u,d_d,d_ua,d_da,
    327326                             new ico_button(21,27,ID_SFX_UP,u_u,u_d,u_ua,u_da,
Note: See TracChangeset for help on using the changeset viewer.