Ignore:
Timestamp:
Apr 14, 2010, 5:49:22 PM (12 years ago)
Author:
dmik
Message:

No need for special key handling in fullscreen after r388.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/gui/docViewer.cpp

    r388 r389  
    23372337    }
    23382338
    2339     //
    2340     // In fullscreen mode accelerators not work, so we process these keys here.
    2341     //
    2342 
    2343     // Ctrl+L
    2344     if ( ( fsflags & KC_CTRL ) && !( fsflags & KC_KEYUP ) && ( toupper( usch ) == 'L' ) )
    2345     {
    2346         Lucide::toggleFullscreen();
    2347         return TRUE;
    2348     }
    2349 
    2350     // Esc && fullscreen
     2339    // Special case for Esc in fullscreen
    23512340    if ( fullscreen && !( fsflags & KC_KEYUP ) && ( fsflags & KC_VIRTUALKEY ) && ( usvk == VK_ESC ) ) {
    23522341        Lucide::toggleFullscreen();
    2353         return TRUE;
    2354     }
    2355 
    2356     // +
    2357     if ( ( fsflags & KC_CHAR ) && !( fsflags & KC_KEYUP ) && ( usch == '+' ) ) {
    2358         goToPage( currentpage + 1 );
    2359         return TRUE;
    2360     }
    2361     // -
    2362     if ( ( fsflags & KC_CHAR ) && !( fsflags & KC_KEYUP ) && ( usch == '-' ) ) {
    2363         goToPage( currentpage - 1 );
    23642342        return TRUE;
    23652343    }
Note: See TracChangeset for help on using the changeset viewer.