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

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

implemented continuous view (synch/asynch), text search and selection doesn't work yet in continuous view

File size: 615 bytes
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        public:
16                static bool dontSwitchPage;
17               
18                static void setDocument( LuDocument *_doc );
19                static void checkNavigationMenus();
20                static void checkZoomMenus();
21                static void checkMenus();
22                static void goToPage( long page );
23                static void setZoom( double zoom );
24                static void enableCopy( bool enable );
25        static void setViewMode( ViewMode mode );
26};
27
28#endif // __LUCIDE_H
29
Note: See TracBrowser for help on using the repository browser.