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

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

implemented D&D into view window

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