Ignore:
Timestamp:
Nov 3, 2018, 7:16:25 PM (3 years ago)
Author:
Gregg Young
Message:

Fix memory leak in "Save" code. Reduce "Save screen noise. Add Last link origin for navigating back from taking a hyper link. Ticket 309 Additional Spanish translation from Alfredo. Make help instance code tolerate a "\" on the end of the install path.

File:
1 edited

Legend:

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

    r649 r678  
    8585        HWND getViewHWND() { return hWndDoc; }
    8686
     87        short getVscrollPos() { return sVscrollPos; }
     88        short getHscrollPos() { return sHscrollPos; }
    8789        void setDocument( LuDocument *_doc );
    8890        bool close( bool force = false );
    8991        void goToPage( long page );
    9092        long getCurrentPage() { return currentpage; }  // Zero based
     93        long getPreviousPage() { return previouspage; }  // Zero based
     94        void unsetPreviousPage() { previouspage = -1; }
    9195        void setZoom( double _zoom );
    9296        double getZoom() { return zoom; }
     
    107111        static void registerClass();
    108112
     113        MRESULT vertScroll( HWND hwnd, MPARAM mp2 );
     114        MRESULT horizScroll( HWND hwnd, MPARAM mp2 );
    109115        // Internal stuffs
    110116    private:
     
    113119        void adjustSize();
    114120        void countPagesizes();
    115 
    116         MRESULT vertScroll( HWND hwnd, MPARAM mp2 );
    117         MRESULT horizScroll( HWND hwnd, MPARAM mp2 );
     121       
    118122        MRESULT wmDragOver( PDRAGINFO dragInfo );
    119123        void wmDrop( PDRAGINFO dragInfo );
     
    173177        HWND hWndMLE;
    174178        HWND hWndList;
     179        HWND hWndBubble;
    175180        LuInputText *textField;
    176181        LuInputChoice *choiceField;
     
    200205        boolean zoomMode;
    201206        long rotation;
    202         long totalpages, currentpage;
     207        long totalpages, currentpage, previouspage;
    203208        ProgressDlg *progressDlg;
    204209        DrawAreas *drawareas;
Note: See TracChangeset for help on using the changeset viewer.