Ignore:
Timestamp:
May 13, 2006, 6:09:46 PM (16 years ago)
Author:
Eugene Romanenko
Message:

intermediate commit, text selection in continuous view nearly works

File:
1 edited

Legend:

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

    r19 r22  
    5555        void wmPaintAsynch( HWND hwnd );
    5656        void wmPaintContAsynch( HWND hwnd );
     57        void wmButton1Down( HWND hwnd, SHORT xpos, SHORT ypos );
    5758        BOOL wmMouseMove( HWND hwnd, SHORT xpos, SHORT ypos );
    5859        BOOL wmClick( HWND hwnd, SHORT xpos, SHORT ypos );
    5960        BOOL wmChar( HWND hwnd, MPARAM mp1, MPARAM mp2 );
    6061        void winPosToDocPos( PPOINTL startpoint, PPOINTL endpoint, LuRectangle *r );
     62        void winPosToDocPos( PageDrawArea *pda, LuRectangle *r );
    6163        void docPosToWinPos( long pagenum, LuRectangle *r, PRECTL rcl, bool useZoom = true );
    6264        HRGN rectsToRegion( long pagenum, HPS hps, LuDocument_LuRectSequence *rects, bool useZoom );
    6365        void drawSelection( long pagenum, HPS hps, PRECTL r );
    6466        void scrollToPos( HWND hwnd, HRGN hrgn, LONG xpos, LONG ypos, bool withSelection );
    65         void freeFoundrects();
     67        void freeRects( LuDocument_LuRectSequence **rects );
    6668        void freeLinks();
    6769        void drawFound( long pagenum, HPS hps, PRECTL r );
    68         DrawAreas *foundDrawAreas( PRECTL r );
     70        DrawAreas *findDrawAreas( PRECTL r );
    6971        void determineCurrentPage();
    7072        long posToPagenum( LONG yPosWin, double *pageRest );
     
    125127        POINTL selectionEnd;
    126128        LuRectangle selection;
    127         LuDocument_LuRectSequence *selrects;
     129        LuDocument_LuRectSequence **selrects;
    128130
    129131        // links
Note: See TracChangeset for help on using the changeset viewer.