Changeset 99 for trunk/src/IMainView.h

Show
Ignore:
Timestamp:
04/20/06 13:09:22 (3 years ago)
Author:
jordi
Message:

The MainPter? now resizes the page shown if the zoom to width or zoom to fit, that now are toggle actions, are activated. The view also tells to the presenter when the scroll window has resized, so it can calculate the new page.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/IMainView.h

    r97 r99  
    4242            /// 
    4343            virtual ~IMainView (void) {} 
     44 
     45            /// 
     46            /// @brief Actives or desactives the zoom to fit. 
     47            /// 
     48            /// The view must change the state of the zoom to fit option 
     49            /// to @a active. 
     50            /// 
     51            /// @param active TRUE if the option must be actived, FALSE 
     52            ///               otherwise. 
     53            /// 
     54            virtual void activeZoomFit (gboolean active) = 0; 
     55            
     56            /// 
     57            /// @brief Actives or desactives the zoom to width. 
     58            /// 
     59            /// The view must change the state of the zoom to width option 
     60            /// to @a active. 
     61            /// 
     62            /// @param active TRUE if the option must be actived, FALSE 
     63            ///               otherwise. 
     64            /// 
     65            virtual void activeZoomWidth (gboolean active) = 0; 
    4466            
    4567            ///