Changeset 120


Ignore:
Timestamp:
Sep 9, 2006, 9:05:19 AM (15 years ago)
Author:
Eugene Romanenko
Message:

In single-page view pressing PgUp/PgDn? if already at top/bottom of page moves to previous/next page (closes #73)

Location:
trunk/Lucide
Files:
2 edited

Legend:

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

    r100 r120  
    17151715                else
    17161716                {
    1717                     if ( fullscreen ) {
     1717                    bool dojump = ( !continuous && ( sVscrollPos == 0 )
     1718                                        && ( currentpage > 0 ) );
     1719
     1720                    if ( fullscreen || dojump ) {
    17181721                        goToPage( currentpage - 1 );
     1722                        if ( dojump ) {
     1723                            vertScroll( hwnd, MPFROM2SHORT( sVscrollMax, SB_SLIDERPOSITION ), NULLHANDLE );
     1724                        }
    17191725                    } else {
    17201726                        WinSendMsg( hwnd, WM_VSCROLL, MPVOID, MPFROM2SHORT( 0, SB_PAGEUP ) );
     
    17341740                else
    17351741                {
    1736                     if ( fullscreen ) {
     1742                    bool dojump = ( !continuous && ( sVscrollPos == sVscrollMax ) );
     1743
     1744                    if ( fullscreen || dojump ) {
    17371745                        goToPage( currentpage + 1 );
    17381746                    } else {
  • trunk/Lucide/changelog

    r119 r120  
    11Beta-4:
    22  - Replace ligatures when converting text from unicode to system
    3     codepage (closed ticket #45) 
     3    codepage (closed ticket #45).
    44  - Lucide's internationalization now respects 'territory' modifier.
    55  - Fixed crash on PDF load during fonts enumeration on font files which
    6     FreeType doesn't understand (closed ticket #83)
    7   - Prevent Lucide from close on broken JPEGs (closed ticket #80)
     6    FreeType doesn't understand (closed ticket #83).
     7  - Prevent Lucide from close on broken JPEGs (closed ticket #80).
     8  - In single-page view pressing PgUp/PgDn if already at top/bottom of page
     9    moves to previous/next page (closed ticket #73).
    810  - Added NLS-files: Spanish, Traditional Chinese (Taiwan).
    911  - Updated NLS-files: Dutch, German, Swedish.
Note: See TracChangeset for help on using the changeset viewer.