Ignore:
Timestamp:
Mar 15, 2008, 12:55:44 AM (11 years ago)
Author:
Sam Hocevar
Message:
  • Rename the "eh" variable to "wm" because it's a window manager, not an event handler.
  • No longer pass the window manager to functions, there's only one.

Inspired by Win32 Abuse changelog for January 28, 2001:

  • Starting work on singleton code; will get rid of all

references to an arbitrary window_manager* because
there's only going to be one, and it's not ever
going to change.

File:
1 edited

Legend:

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

    r56 r106  
    650650            if (!text_loaded) done=1;
    651651           
    652           eh->flush_screen();     
    653           while (eh->event_waiting())
     652          wm->flush_screen();     
     653          while (wm->event_waiting())
    654654          {     
    655655            event ev;       
    656             eh->get_event(ev);
     656            wm->get_event(ev);
    657657            if (ev.type==EV_KEY)
    658658            {
Note: See TracChangeset for help on using the changeset viewer.