Ignore:
Timestamp:
May 3, 2006, 10:14:37 AM (15 years ago)
Author:
Eugene Romanenko
Message:

update makefiles, remove absolute paths, update djvulibre to version 3.5.17

File:
1 edited

Legend:

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

    r2 r17  
    33
    44#include <vector>
    5 using namespace std;
    65
    76#include <ludoc.xh>
     
    1817};
    1918
    20 typedef vector<PageDrawArea> DrawAreas;
     19typedef std::vector<PageDrawArea> DrawAreas;
    2120
    2221
     
    4039
    4140        static void registerClass( HAB hab );
     41
    4242        // Internal stuffs
    4343    private:
     
    5656        BOOL wmChar( HWND hwnd, MPARAM mp1, MPARAM mp2 );
    5757        void winPosToDocPos( PPOINTL startpoint, PPOINTL endpoint, LuRectangle *r );
    58         void docPosToWinPos( LuRectangle *r, PRECTL rcl );
     58        void docPosToWinPos( long pagenum, LuRectangle *r, PRECTL rcl );
    5959        HRGN rectsToRegion( HPS hps, LuDocument_LuRectSequence *rects, bool useScale );
    6060        void drawSelection( HPS hps, PRECTL r );
    6161        void scrollToPos( HWND hwnd, HRGN hrgn, SHORT xpos, SHORT ypos, bool withSelection );
    6262        void freeFoundrects();
     63        void freeLinks();
    6364        void drawFound( HPS hps, PRECTL r );
    6465        DrawAreas *foundDrawAreas( PRECTL r );
    65         void foundCurrentPage();
    66         long posToPagenum( double yPos, double *pageRest );
     66        void determineCurrentPage();
     67        long posToPagenum( LONG yPosWin, double *pageRest );
     68        double pagenumToPos( long pagenum );
    6769
    6870        static MRESULT EXPENTRY docViewProc( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2 );
     
    98100        long totalpages, currentpage;
    99101        ProgressDlg *progressDlg;
     102        DrawAreas *drawareas;
     103        int drawareaIndex;
    100104
    101105        // continuous view
     
    103107        LuSize *pagesizes;
    104108        SHORT VScrollStep;
    105         DrawAreas *drawareas;
    106109
    107110        // asynch draw
    108111        bool enableAsynchDraw;
    109         RECTL drawRect;
    110112        HMTX todrawAccess;
    111113        HEV  haveDraw;
     
    122124
    123125        // links
    124         LuDocument_LuLinkMapSequence *links;
     126        LuDocument_LuLinkMapSequence **links;
    125127        HPOINTER handptr;
    126128
     
    134136
    135137#endif // __DOCVIEWER_H
     138
Note: See TracChangeset for help on using the changeset viewer.