Changeset 212 for trunk


Ignore:
Timestamp:
Jul 26, 2007, 11:32:48 AM (14 years ago)
Author:
Eugene Romanenko
Message:

Zoom in/Zoom out menuitems and corresponding Ctrl++/Ctrl+- hotkeys. Ctrl+Shift++/Ctrl+Shift+- hotkeys for rotate CW/CCW, Ctrl+P for Print (closes #108)

Location:
trunk/Lucide
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/BIN/Lucide.lng

    r183 r212  
    1212# MENU_PAGE_SETUP: to delete
    1313MENU_PAGE_SETUP=Pa~ge setup...
    14 MENU_PRINT=~Print...
     14MENU_PRINT=~Print...\tCtrl+P
    1515MENU_PLUGINS_LIST=Plugins ~list...
    1616MENU_EXIT=E~xit\tCtrl+X
     
    2525MENU_ACTUAL_SIZE=~Actual size
    2626MENU_FIT_WIDTH=Fit ~width
    27 MENU_ZOOM_IN_OUT=~Zoom in/out
     27# - unused - MENU_ZOOM_IN_OUT=~Zoom in/out
     28MENU_ZOOM_IN=Zoom in\tCtrl++
     29MENU_ZOOM_OUT=Zoom out\tCtrl+-
    2830MENU_FIRST_PAGE=~First page
    2931MENU_PREV_PAGE=~Previous page\t-
     
    3133MENU_LAST_PAGE=~Last page
    3234MENU_GO_TO_PAGE=~Go to page...\tCtrl+N
    33 MENU_ROTATE_CW=~Rotate 90ø CW
    34 MENU_ROTATE_CCW=Rotate 90ø ~CCW
     35MENU_ROTATE_CW=~Rotate 90ø CW\tCtrl+Shift++
     36MENU_ROTATE_CCW=Rotate 90ø ~CCW\tCtrl+Shift+-
    3537MENU_SINGLE_PAGE=~Single page
    3638MENU_CONTINUOUS=C~ontinuous
  • trunk/Lucide/BIN/Lucide_da.lng

    r193 r212  
    1111MENU_SAVE_AS=~Gem som...
    1212MENU_PAGE_SETUP=~Side ops‘tning...
    13 MENU_PRINT=~Print...
     13MENU_PRINT=~Print...\tCtrl+P
    1414MENU_PLUGINS_LIST=Plugins ~list...
    1515MENU_EXIT=~Afslut\tCtrl+X
     
    2424MENU_ACTUAL_SIZE=~Aktual st›rrelse
    2525MENU_FIT_WIDTH=Tilpas ~bredde
    26 MENU_ZOOM_IN_OUT=~Zoom ind/ud
     26# - unused - MENU_ZOOM_IN_OUT=~Zoom ind/ud
    2727MENU_FIRST_PAGE=F~›rste side
    2828MENU_PREV_PAGE=~Forrige side\t-
     
    3030MENU_LAST_PAGE=~Sidste side
    3131MENU_GO_TO_PAGE=~G† til side...\tCtrl+N
    32 MENU_ROTATE_CW=Drej ~90ø Med Uret
    33 MENU_ROTATE_CCW=Drej 90ø ~Mod Uret
     32MENU_ROTATE_CW=Drej ~90ø Med Uret\tCtrl+Shift++
     33MENU_ROTATE_CCW=Drej 90ø ~Mod Uret\tCtrl+Shift+-
    3434MENU_SINGLE_PAGE=~Enkelt side
    3535MENU_CONTINUOUS=~Kontinuerlig
  • trunk/Lucide/BIN/Lucide_de.lng

    r188 r212  
    1111MENU_SAVE_AS=~Sichern unter...
    1212MENU_PAGE_SETUP=Seitenein~richtung...
    13 MENU_PRINT=~Drucken...
     13MENU_PRINT=~Drucken...\tCtrl+P
    1414MENU_PLUGINS_LIST=Plugin-~Liste...
    1515MENU_EXIT=B~eenden\tStrg+X
     
    2424MENU_ACTUAL_SIZE=~OriginalgrӇe
    2525MENU_FIT_WIDTH=Seiten~breite
    26 MENU_ZOOM_IN_OUT=~Zoom-Modus (gr”sser/kleiner)
     26# - unused - MENU_ZOOM_IN_OUT=~Zoom-Modus (gr”sser/kleiner)
    2727MENU_FIRST_PAGE=~Erste Seite
    2828MENU_PREV_PAGE=~Vorige Seite\t-
     
    3030MENU_LAST_PAGE=~Letzte Seite
    3131MENU_GO_TO_PAGE=Gehe zu ~Seite...\tStrg+N
    32 MENU_ROTATE_CW=90ø im UZS ~drehen
    33 MENU_ROTATE_CCW=90ø gegen ~UZS drehen
     32MENU_ROTATE_CW=90ø im UZS ~drehen\tCtrl+Shift++
     33MENU_ROTATE_CCW=90ø gegen ~UZS drehen\tCtrl+Shift+-
    3434MENU_SINGLE_PAGE=Einzelne Sei~te
    3535MENU_CONTINUOUS=~Fortlaufend
  • trunk/Lucide/BIN/Lucide_es.lng

    r146 r212  
    1212# MENU_PAGE_SETUP: to delete
    1313MENU_PAGE_SETUP=~Preferencias de p gina...
    14 MENU_PRINT=~Imprimir...
     14MENU_PRINT=~Imprimir...\tCtrl+P
    1515MENU_PLUGINS_LIST=~Lista de plugins...
    1616MENU_EXIT=~Salir\tCtrl+X
     
    2727MENU_ACTUAL_SIZE=~Tama€o real
    2828MENU_FIT_WIDTH=Ajustar al ~ancho
    29 MENU_ZOOM_IN_OUT=Aumentar/Reducir ~zoom
     29# - unused - MENU_ZOOM_IN_OUT=Aumentar/Reducir ~zoom
    3030MENU_FIRST_PAGE=~Primera p gina
    3131MENU_PREV_PAGE=P gina anterior\t-
     
    3333MENU_LAST_PAGE=~éltima p gina
    3434MENU_GO_TO_PAGE=~Ir a la p gina...\tCtrl+N
    35 MENU_ROTATE_CW=~Girar 90ø en sentido horario
    36 MENU_ROTATE_CCW=Girar 90ø en sentido antihorario
     35MENU_ROTATE_CW=~Girar 90ø en sentido horario\tCtrl+Shift++
     36MENU_ROTATE_CCW=Girar 90ø en sentido antihorario\tCtrl+Shift+-
    3737MENU_SINGLE_PAGE=~Una p gina cada vez
    3838MENU_CONTINUOUS=Estilo ~continuo
  • trunk/Lucide/BIN/Lucide_fr.lng

    r204 r212  
    1313# MENU_PAGE_SETUP: to delete
    1414MENU_PAGE_SETUP=Mise en ~page...
    15 MENU_PRINT=~Imprimer...
     15MENU_PRINT=~Imprimer...\tCtrl+P
    1616MENU_PLUGINS_LIST=~Composants enfichables...
    1717MENU_EXIT=~Quitter\tCtrl+X
     
    2727MENU_ACTUAL_SIZE=~Taille r‚elle
    2828MENU_FIT_WIDTH=~Largeur de la page
    29 MENU_ZOOM_IN_OUT=~Zoom +/-
     29# - unused - MENU_ZOOM_IN_OUT=~Zoom +/-
    3030MENU_FIRST_PAGE=~PremiŠre page
    3131MENU_PREV_PAGE=Page p~r‚c‚dente\t-
     
    3434MENU_GO_TO_PAGE=~Aller
    3535 la page...\tCtrl+N
    36 MENU_ROTATE_CW=Rotation de 90ø vers la dr~oite
    37 MENU_ROTATE_CCW=Rotation de 90ø vers la ~gauche
     36MENU_ROTATE_CW=Rotation de 90ø vers la dr~oite\tCtrl+Shift++
     37MENU_ROTATE_CCW=Rotation de 90ø vers la ~gauche\tCtrl+Shift+-
    3838MENU_SINGLE_PAGE=Page ~simple
    3939MENU_CONTINUOUS=En ~continu
  • trunk/Lucide/BIN/Lucide_it.lng

    r173 r212  
    1111# MENU_PAGE_SETUP: to delete
    1212MENU_PAGE_SETUP=Impostazioni pa~gina...
    13 MENU_PRINT=Stam~pa...
     13MENU_PRINT=Stam~pa...\tCtrl+P
    1414MENU_PLUGINS_LIST=~Lista plugin
    1515MENU_EXIT=~Esci\tCtrl+X
     
    2424MENU_ACTUAL_SIZE=~Dimensione reale
    2525MENU_FIT_WIDTH=Adatta alla ~larghezza
    26 MENU_ZOOM_IN_OUT=~Ingrandisci/rimpicciolisci
     26# - unused - MENU_ZOOM_IN_OUT=~Ingrandisci/rimpicciolisci
    2727MENU_FIRST_PAGE=~Prima pagina
    2828MENU_PREV_PAGE=Pagina p~recedente\t-
     
    3030MENU_LAST_PAGE=~Ultima pagina
    3131MENU_GO_TO_PAGE=~Vai a pagina...\tCtrl+N
    32 MENU_ROTATE_CW=Ruota di 90ø in senso ~orario
    33 MENU_ROTATE_CCW=Ruota di 90ø in senso a~ntiorario
     32MENU_ROTATE_CW=Ruota di 90ø in senso ~orario\tCtrl+Shift++
     33MENU_ROTATE_CCW=Ruota di 90ø in senso a~ntiorario\tCtrl+Shift+-
    3434MENU_SINGLE_PAGE=Pagina ~singola
    3535MENU_CONTINUOUS=Pagina ~continua
  • trunk/Lucide/BIN/Lucide_nl.lng

    r204 r212  
    1212# MENU_PAGE_SETUP: to delete
    1313MENU_PAGE_SETUP=~Pagina-instelling
    14 MENU_PRINT=Af~drukken...
     14MENU_PRINT=Af~drukken...\tCtrl+P
    1515MENU_PLUGINS_LIST=P~lug-in lijst...
    1616MENU_EXIT=E~inde\tCtrl+X
     
    2525MENU_ACTUAL_SIZE=~Ware grootte
    2626MENU_FIT_WIDTH=Venster~breedte
    27 MENU_ZOOM_IN_OUT=~Zoom in/uit
     27# - unused - MENU_ZOOM_IN_OUT=~Zoom in/uit
    2828MENU_FIRST_PAGE=~Eerste pagina
    2929MENU_PREV_PAGE=Vo~rige pagina\t-
     
    3131MENU_LAST_PAGE=~Laatste pagina
    3232MENU_GO_TO_PAGE=~Ga naar pagina...\tCtrl+N
    33 MENU_ROTATE_CW=Roteer 90ø ~met de klok mee
    34 MENU_ROTATE_CCW=Roteer 90ø ~tegen de klok in
     33MENU_ROTATE_CW=Roteer 90ø ~met de klok mee\tCtrl+Shift++
     34MENU_ROTATE_CCW=Roteer 90ø ~tegen de klok in\tCtrl+Shift+-
    3535MENU_SINGLE_PAGE=Enkele p~agina
    3636MENU_CONTINUOUS=D~oorlopend
  • trunk/Lucide/BIN/Lucide_ru.lng

    r183 r212  
    1212# MENU_PAGE_SETUP: to delete
    1313MENU_PAGE_SETUP= ~à ¬¥âàë áâà ­šæë...
    14 MENU_PRINT=~¥ç âì...
     14MENU_PRINT=~¥ç âì...\tCtrl+P
    1515MENU_PLUGINS_LIST=‘¯šá®ª ¯~« £š­®¢...
    1616MENU_EXIT=‚~ë宀\tCtrl+X
     
    2525MENU_ACTUAL_SIZE=~¥ «ì­ë© à §¬¥à
    2626MENU_FIT_WIDTH=® ~èšàš­¥
    27 MENU_ZOOM_IN_OUT=à~š¡«š§šâì/®â€ «šâì
     27# - unused - MENU_ZOOM_IN_OUT=à~š¡«š§šâì/®â€ «šâì
     28MENU_ZOOM_IN=àš¡«š§šâì\tCtrl++
     29MENU_ZOOM_OUT=Žâ€ «šâì\tCtrl+-
    2830MENU_FIRST_PAGE=~¥à¢ ï áâà ­šæ 
    2931MENU_PREV_PAGE=à¥€~ë€ãé ï áâà ­šæ \t-
     
    3133MENU_LAST_PAGE=®á«~¥€­ïï áâà ­šæ 
    3234MENU_GO_TO_PAGE=¥à¥©âš ~­  áâà ­šæã...\tCtrl+N
    33 MENU_ROTATE_CW=®¢¥à­ãâì ­  90ø ¯® ~ç.á.
    34 MENU_ROTATE_CCW=®¢¥à­ãâì ­  90ø ¯à®âš~¢ ç.á.
     35MENU_ROTATE_CW=®¢¥à­ãâì ­  90ø ¯® ~ç.á.\tCtrl+Shift++
     36MENU_ROTATE_CCW=®¢¥à­ãâì ­  90ø ¯à®âš~¢ ç.á.\tCtrl+Shift+-
    3537MENU_SINGLE_PAGE=~Ž€š­®ç­ ï áâà ­šæ 
    3638MENU_CONTINUOUS=®á~«¥€®¢ â¥«ì­®
  • trunk/Lucide/BIN/Lucide_sv.lng

    r191 r212  
    1212# MENU_PAGE_SETUP: to delete
    1313MENU_PAGE_SETUP=Sida inst„llningar...
    14 MENU_PRINT=Skriv ut...
     14MENU_PRINT=Skriv ut...\tCtrl+P
    1515MENU_PLUGINS_LIST=Pluginlista...
    1616MENU_EXIT=Avsluta\tCtrl+X
     
    2525MENU_ACTUAL_SIZE=Verklig storlek
    2626MENU_FIT_WIDTH=Passa bredd
    27 MENU_ZOOM_IN_OUT=~Zooma in/ut
     27# - unused - MENU_ZOOM_IN_OUT=~Zooma in/ut
    2828MENU_FIRST_PAGE=F”rsta sidan
    2929MENU_PREV_PAGE=F”reg†ende sida\t-
     
    3131MENU_LAST_PAGE=Sista sidan
    3232MENU_GO_TO_PAGE=G† till sidan...\tCtrl+N
    33 MENU_ROTATE_CW=Rotera 90ø CW
    34 MENU_ROTATE_CCW=Rotera 90ø CCW
     33MENU_ROTATE_CW=Rotera 90ø CW\tCtrl+Shift++
     34MENU_ROTATE_CCW=Rotera 90ø CCW\tCtrl+Shift+-
    3535MENU_SINGLE_PAGE=Enstaka sida
    3636MENU_CONTINUOUS=Kontinuerlig
  • trunk/Lucide/BIN/Lucide_zh_TW.lng

    r173 r212  
    1010MENU_SAVE_AS=¥tŠs·sÀÉ(~S)...
    1111MENU_PAGE_SETUP=³]©w­¶­±(~G)...
    12 MENU_PRINT=ŠCŠL(~P)...
     12MENU_PRINT=ŠCŠL(~P)...\tCtrl+P
    1313MENU_DOCUMENT_INFO=€å¥óžê°T(~D)...
    1414MENU_FONTS_INFO=ŠrÅéžê°T(~I)...
     
    3030MENU_ACTUAL_SIZE=¹ê»Ú€Ø€o(~A)
    3131MENU_FIT_WIDTH=²ÅŠXŒe«×(~W)
    32 MENU_ROTATE_CW=¶¶®ÉÄÁ€èŠV90«×(~R)
    33 MENU_ROTATE_CCW=°f®ÉÄÁ€èŠV90«×(~C)
     32MENU_ROTATE_CW=¶¶®ÉÄÁ€èŠV90«×(~R)\tCtrl+Shift++
     33MENU_ROTATE_CCW=°f®ÉÄÁ€èŠV90«×(~C)\tCtrl+Shift+-
    3434MENU_SINGLE_PAGE=³æ­¶(~S)
    3535MENU_CONTINUOUS=³sÄò(~O)
  • trunk/Lucide/BIN/lucide_cs_cz.lng

    r204 r212  
    1212# MENU_PAGE_SETUP: smazat
    1313MENU_PAGE_SETUP=~Nastaven¡ str nky...
    14 MENU_PRINT=~Tisk...
     14MENU_PRINT=~Tisk...\tCtrl+P
    1515MENU_PLUGINS_LIST=~Seznam modul
    1616...
     
    2828MENU_FIT_WIDTH=Pýi~zp
    2929sobit ç¡ýce
    30 MENU_ZOOM_IN_OUT=Z~vØtçit/zmençit
     30# - unused - MENU_ZOOM_IN_OUT=Z~vØtçit/zmençit
    3131MENU_FIRST_PAGE=P~rvn¡ strana
    3232MENU_PREV_PAGE=Pý~edchoz¡ strana\t-
     
    3434MENU_LAST_PAGE=P~osledn¡ strana
    3535MENU_GO_TO_PAGE=J¡t ~na stranu...\tCtrl+N
    36 MENU_ROTATE_CW=~OtoŸit 90ø doprava
    37 MENU_ROTATE_CCW=O~toŸit 90ø doleva
     36MENU_ROTATE_CW=~OtoŸit 90ø doprava\tCtrl+Shift++
     37MENU_ROTATE_CCW=O~toŸit 90ø doleva\tCtrl+Shift+-
    3838MENU_SINGLE_PAGE=~Jedna strana
    3939MENU_CONTINUOUS=So~uvisle
  • trunk/Lucide/SOURCE/gui/Lucide.rc

    r211 r212  
    5656        MENUITEM "MENU_ACTUAL_SIZE", CM_ACTSIZE
    5757        MENUITEM "MENU_FIT_WIDTH", CM_FITWIDTH
    58         MENUITEM "MENU_ZOOM_IN_OUT", CM_ZOOM_IN_OUT
     58        MENUITEM "MENU_ZOOM_IN", CM_ZOOM_IN
     59        MENUITEM "MENU_ZOOM_OUT", CM_ZOOM_OUT
    5960        MENUITEM SEPARATOR
    6061        MENUITEM "MENU_FIRST_PAGE", CM_FIRSTPAGE
     
    9192    "O", CM_OPEN, CONTROL
    9293    "o", CM_OPEN, CONTROL
     94    "P", CM_PRINT, CONTROL
     95    "p", CM_PRINT, CONTROL
    9396    "X", CM_EXIT, CONTROL
    9497    "x", CM_EXIT, CONTROL
     
    107110    VK_F11, CM_MAXVIEW, VIRTUALKEY
    108111    VK_TAB, CM_SWITCHWINDOW, VIRTUALKEY
     112    "+", CM_ZOOM_IN, CONTROL
     113    "-", CM_ZOOM_OUT, CONTROL
     114    "+", CM_ROTATE90CW, CONTROL, SHIFT
     115    "-", CM_ROTATE90CCW, CONTROL, SHIFT
    109116END
    110117
  • trunk/Lucide/SOURCE/gui/Lucide_res.H

    r211 r212  
    8383#define CM_FITWIDTH     403
    8484#define CM_ZOOM_IN_OUT  404
    85 #define CM_ROTATE90CW   405
    86 #define CM_ROTATE90CCW  406
    87 #define CM_SINGLEPAGE   407
    88 #define CM_CONTINUOUS   408
    89 #define CM_DOCINFO      409
    90 #define CM_FONTSINFO    410
     85#define CM_ZOOM_IN      405
     86#define CM_ZOOM_OUT     406
     87#define CM_ROTATE90CW   407
     88#define CM_ROTATE90CCW  408
     89#define CM_SINGLEPAGE   409
     90#define CM_CONTINUOUS   410
     91#define CM_DOCINFO      411
     92#define CM_FONTSINFO    412
    9193
    9294#define CM_NAVPANE      501
  • trunk/Lucide/SOURCE/gui/docViewer.cpp

    r211 r212  
    17041704}
    17051705
     1706void DocumentViewer::zoomInOut( bool zoomIn )
     1707{
     1708    if ( ( doc != NULL ) && doc->isScalable( ev ) )
     1709    {
     1710        double z = getRealZoom() / 4;
     1711        double zval = 0;
     1712        if ( zoomIn ) {
     1713            zval = getRealZoom() + z;
     1714        } else {
     1715            zval = getRealZoom() - z;
     1716        }
     1717        zval = (long)( zval * 20.0 ) / 20.0;   // Round to 0.05 (5%)
     1718        if ( zval == getRealZoom() ) {
     1719            zval += ( zoomIn ? 0.01 : -0.01 );
     1720        }
     1721        if ( zval > 0.1 ) {
     1722            Lucide::setZoom( zval );
     1723        }
     1724    }
     1725}
     1726
    17061727// handles WM_BUTTON1CLICK
    17071728BOOL DocumentViewer::wmClick( HWND hwnd, SHORT xpos, SHORT ypos )
     
    17091730    if ( zoomMode )
    17101731    {
    1711         double z = getRealZoom() / 4;
    1712         double zval = 0;
    1713         bool doPlus = false;
    1714         if ( WinGetPhysKeyState( HWND_DESKTOP, 0x1d ) & 0x8000 ) {
    1715             zval = getRealZoom() - z;
    1716         } else {
    1717             zval = getRealZoom() + z;
    1718             doPlus = true;
    1719         }
    1720         zval = (long)( zval * 20.0 ) / 20.0;   // Round to 0.05 (5%)
    1721         if ( zval == getRealZoom() ) {
    1722             zval += ( doPlus ? 0.01 : -0.01 );
    1723         }
    1724         if ( zval > 0.1 ) {
    1725             Lucide::setZoom( zval );
    1726         }
     1732        zoomInOut( ( WinGetPhysKeyState( HWND_DESKTOP, 0x1d ) & 0x8000 ) == 0 );
    17271733        return TRUE;
    17281734    }
     
    18641870    }
    18651871
     1872    //
     1873    // In fullscreen mode accelerators not work, so we process these keys here.
     1874    //
     1875
    18661876    // Ctrl+L
    18671877    if ( ( fsflags & KC_CTRL ) && !( fsflags & KC_KEYUP ) && ( toupper( usch ) == 'L' ) )
     
    18821892    }
    18831893
    1884     // Ctrl
     1894    // Ctrl && zoomMode
    18851895    if ( ( fsflags & KC_VIRTUALKEY ) && ( usvk == VK_CTRL ) && zoomMode ) {
    18861896        wmMouseMove( hwnd, 0, 0 ); // to switch mouse pointer if in zoomMode
  • trunk/Lucide/SOURCE/gui/docViewer.h

    r126 r212  
    8282                             bool _continueSearch );
    8383        void setFullscreen( bool _fullscreen );
     84        void zoomInOut( bool zoomIn );
    8485
    8586        static void registerClass();
  • trunk/Lucide/SOURCE/gui/lucide.cpp

    r211 r212  
    180180    WinEnableMenuItem( hWndMenu, CM_FITWIDTH, scalable );
    181181    WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FITWIDTH), (MPARAM)scalable );
    182     WinEnableMenuItem( hWndMenu, CM_ZOOM_IN_OUT, scalable );
    183182    WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_ZOOM_IN_OUT), (MPARAM)scalable );
     183    WinEnableMenuItem( hWndMenu, CM_ZOOM_IN, scalable );
     184    WinEnableMenuItem( hWndMenu, CM_ZOOM_OUT, scalable );
    184185    WinEnableControl( hToolBar, TBID_ZOOM, scalable );
    185186    BOOL rotable = doc->isRotable( ev );
     
    273274        WinEnableMenuItem( hWndMenu, CM_FITWIDTH, FALSE );
    274275        WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FITWIDTH), (MPARAM)FALSE );
    275         WinEnableMenuItem( hWndMenu, CM_ZOOM_IN_OUT, FALSE );
    276276        WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_ZOOM_IN_OUT), (MPARAM)FALSE );
     277        WinEnableMenuItem( hWndMenu, CM_ZOOM_IN, FALSE );
     278        WinEnableMenuItem( hWndMenu, CM_ZOOM_OUT, FALSE );
    277279        WinEnableControl( hToolBar, TBID_ZOOM, FALSE );
    278280
     
    717719    {
    718720        bool isZoom = !docViewer->isZoomMode();
    719 
    720         WinCheckMenuItem( hWndMenu, CM_ZOOM_IN_OUT, isZoom );
    721721        WinSendMsg( hToolBar, TBM_SETCHECK, MPFROMSHORT( CM_ZOOM_IN_OUT ), (MPARAM)isZoom );
    722722        docViewer->setZoomMode( isZoom );
     
    933933                    return (MRESULT)FALSE;
    934934
     935                case CM_ZOOM_IN:
     936                    docViewer->zoomInOut( true );
     937                    return (MRESULT)FALSE;
     938
     939                case CM_ZOOM_OUT:
     940                    docViewer->zoomInOut( false );
     941                    return (MRESULT)FALSE;
     942
    935943                case CM_SINGLEPAGE:
    936944                    Lucide::setPageLayout( SinglePage );
  • trunk/Lucide/changelog

    r211 r212  
    44  - DJVU plugin: fix opening files with non-latin chars in filename.
    55  - PDF plugin: freetype library updated to version 2.3.5.
    6   - TAB key switch between navigation pane and document
     6  - TAB key switch between navigation pane and document (closed
     7    tickets #112, #123).
     8  - Zoom in/Zoom out menuitems and corresponding Ctrl++/Ctrl+- hotkeys.
     9  - Ctrl+Shift++/Ctrl+Shift+- hotkeys for rotate CW/CCW, Ctrl+P for Print
     10    (closed ticket #108).
    711  - Updated NLS-files: Czech, French, Dutch.
    812
Note: See TracChangeset for help on using the changeset viewer.