Changeset 26 for trunk/Classes/events.cpp
- Timestamp:
- 2010-05-28 07:39:52 (2 years ago)
- File:
-
- 1 edited
-
trunk/Classes/events.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Classes/events.cpp
r4 r26 341 341 cursor::set_focus(true); 342 342 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; 344 345 static const int DoubleClickMaxMove = 3; 345 346 if(last_mouse_down >= 0 && info.ticks() - last_mouse_down < DoubleClickTime && … … 353 354 ::SDL_PushEvent(reinterpret_cast<SDL_Event*>(&user_event)); 354 355 } 356 */ 355 357 last_mouse_down = info.ticks(); 356 358 last_click_x = event.button.x;
Note: See TracChangeset
for help on using the changeset viewer.