Ignore:
Timestamp:
2010-05-28 07:39:52 (2 years ago)
Author:
kpoole
Message:

Episode 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Classes/events.cpp

    r4 r26  
    341341                cursor::set_focus(true); 
    342342                if(event.button.button == SDL_BUTTON_LEFT) { 
    343                     static const int DoubleClickTime = 500; 
     343                    // KP: removed SDL double clicks 
     344/*                  static const int DoubleClickTime = 500; 
    344345                    static const int DoubleClickMaxMove = 3; 
    345346                    if(last_mouse_down >= 0 && info.ticks() - last_mouse_down < DoubleClickTime && 
     
    353354                        ::SDL_PushEvent(reinterpret_cast<SDL_Event*>(&user_event)); 
    354355                    } 
     356 */ 
    355357                    last_mouse_down = info.ticks(); 
    356358                    last_click_x = event.button.x; 
Note: See TracChangeset for help on using the changeset viewer.