Changeset 225 for trunk/Lucide


Ignore:
Timestamp:
Aug 7, 2007, 1:05:37 PM (14 years ago)
Author:
Eugene Romanenko
Message:

fix coordinates

Location:
trunk/Lucide
Files:
2 edited

Legend:

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

    r213 r225  
    10971097        {
    10981098            spos_x = sHscrollPos + rclDraw.xLeft - xPos;
    1099             spos_y = ( yPos > 0 ) ? rclPage.yTop - rclDraw.yTop : (cyClient - rclDraw.yTop) + sVscrollPos;
     1099            spos_y = ( height < cyClient ) ? rclPage.yTop - rclDraw.yTop : (cyClient - rclDraw.yTop) + sVscrollPos;
    11001100            LONG rclx = rclDraw.xRight - rclDraw.xLeft;
    11011101            LONG rcly = rclDraw.yTop - rclDraw.yBottom;
     
    17691769                        char *uri = links[ pg ]->_buffer[i].link.uri;
    17701770                        if ( uri != NULL ) {
    1771                                 Lucide::newWindow( uri, true );   
     1771                            Lucide::newWindow( uri, true );
    17721772                        }
    17731773                    }
  • trunk/Lucide/changelog

    r223 r225  
    66  - Menuitems and hotkeys to subsequently load supported files in same
    77    directory.
     8  - Hotkeys (Ctrl+0/1/2) for predefined zoom levels.
    89  - UClip package is optional now.
    910  - Updated NLS-files: German, ...
Note: See TracChangeset for help on using the changeset viewer.