source: trunk/Lucide/SOURCE/gui/lucide.h @ 26

Last change on this file since 26 was 26, checked in by Eugene Romanenko, 15 years ago

remember nav pane position/visibility

File size: 1.0 KB
Line 
1#ifndef __LUCIDE_H
2#define __LUCIDE_H
3
4extern const char *appName;
5extern HAB hab;
6extern char deffont[];
7extern int deffontlen;
8
9class LuDocument;
10
11enum ViewMode { SinglePage, Continuous };
12
13class Lucide
14{
15    private:
16        static void setOfPages( long pages );
17        static void enableZoomMenus();
18        static void setZoomChecks( SHORT cmd, SHORT cbind, double zoom );
19
20    public:
21        static bool dontSwitchPage;
22        static SHORT splitterPos;
23        static bool showIndex;
24       
25        static void openDocument();
26        static void loadDocument( const char *fn );
27        static void setDocument( LuDocument *_doc );
28        static void checkNavigationMenus();
29        static void checkZoomMenus();
30        static void checkMenus();
31        static void checkNavpane();
32        static void goToPage( long page );
33        static void setZoom( double zoom );
34        static void enableCopy( bool enable );
35        static void setViewMode( ViewMode mode );
36};
37
38#endif // __LUCIDE_H
39
Note: See TracBrowser for help on using the repository browser.