Changeset 389 for trunk


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

No need for special key handling in fullscreen after r388.

Location:
trunk/Lucide/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/gui/Lucide.rc

    r367 r389  
    123123    "n", CM_GOTOPAGE, CONTROL
    124124    VK_F11, CM_MAXVIEW, VIRTUALKEY
     125    "L", CM_FULLSCREEN, CONTROL
     126    "l", CM_FULLSCREEN, CONTROL
    125127    VK_TAB, CM_SWITCHWINDOW, VIRTUALKEY
     128    "+", CM_NEXTPAGE
     129    "=", CM_NEXTPAGE
     130    "-", CM_PREVPAGE
     131    "_", CM_PREVPAGE
    126132    "+", CM_ZOOM_IN, CONTROL
    127133    "=", CM_ZOOM_IN, CONTROL
    128134    "-", CM_ZOOM_OUT, CONTROL
     135    "_", CM_ZOOM_OUT, CONTROL
    129136    "+", CM_ROTATE90CW, CONTROL, SHIFT
     137    "=", CM_ROTATE90CW, CONTROL, SHIFT
    130138    "-", CM_ROTATE90CCW, CONTROL, SHIFT
    131139    "_", CM_ROTATE90CCW, CONTROL, SHIFT
  • 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.