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

The page navigation toolbar works as expected, setting the sensitiveness of its controls correctly.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbMainView.h

    r27 r29  
    3939            void sensitiveZoomFit (gboolean sensitive); 
    4040            void sensitiveZoomWidth (gboolean sensitive); 
     41            const gchar *getGoToPageText (void); 
     42            void setTotalPages (gint pages); 
     43            void setGoToPageText (const char *text); 
     44            void setTitle (const gchar *title); 
    4145            void show (void); 
    4246            void showErrorMessage (const gchar *title, const gchar *body); 
    4347            void showPage (DocumentPage *page); 
    44             void setTitle (const gchar *title); 
    4548 
    4649            // Methods for test purposes. 
    47             gint countTimesShownPasswordPrompt (); 
     50            gint countTimesShownPasswordPrompt (void); 
     51            gint getCurrentPage (void);             
    4852            const gchar *getTitle (void); 
     53            gint getTotalPages (void); 
    4954            gboolean hasImagePageView (void); 
    5055            gboolean isShown (void); 
     
    6368 
    6469        protected: 
     70            gint m_CurrentPage; 
    6571            DocumentPage *m_DocumentPage; 
     72            gchar *m_GoToPageText; 
    6673            gchar *m_OpenFileName; 
    6774            gchar *m_Password; 
     
    7986            gint m_TimesShownPassword; 
    8087            gchar *m_Title; 
     88            gint m_TotalPages; 
    8189    }; 
    8290}