enable the new framebuffer resizing code.
[AROS.git] / workbench / utilities / MultiView / vars.h
blobbe9c7b402ca017ab6639410bae129f37b4b63d58
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef VAR
7 #define VAR extern
8 #endif
10 VAR struct IntuitionBase *IntuitionBase;
11 VAR struct GfxBase *GfxBase;
13 #ifdef __AROS__
14 VAR struct UtilityBase *UtilityBase;
15 VAR struct LocaleBase *LocaleBase;
16 #else
17 VAR struct Library *UtilityBase;
18 VAR struct Library *LocaleBase;
19 #endif
21 VAR struct Library *KeymapBase;
22 VAR struct Library *LayersBase;
23 VAR struct Library *DataTypesBase;
24 VAR struct Library *AslBase;
25 VAR struct Library *GadToolsBase;
26 VAR struct Library *DiskfontBase;
28 VAR struct Screen *scr;
29 VAR struct Window *win;
30 VAR struct Rectangle wincoords;
31 VAR struct DrawInfo *dri;
32 VAR STRPTR filename;
33 VAR BPTR cd; /* saved current directory */
34 VAR APTR vi;
35 VAR struct Catalog *catalog;
36 VAR Object *dto;
37 VAR Object *old_dto;
38 VAR Object *model_obj;
39 VAR Object *dto_to_vert_ic_obj;
40 VAR Object *dto_to_horiz_ic_obj;
41 VAR Object *vert_to_dto_ic_obj;
42 VAR Object *horiz_to_dto_ic_obj;
43 VAR Object *model_to_dto_ic_obj;
44 VAR Object *gad[NUM_GADGETS];
45 VAR Object *img[NUM_IMAGES];
46 VAR UBYTE filenamebuffer[300];
47 VAR UBYTE objnamebuffer[300];
48 VAR UBYTE s[300];
49 /* current dt's group ID */
50 VAR ULONG dto_subclass_gid;
51 /* basic menus and menu dependent on current dt's group ID */
52 VAR struct Menu *menus;
53 VAR struct Menu *pictmenus;
54 VAR struct Menu *textmenus;
55 /* methods supported by current dt */
56 VAR UBYTE dto_supports_write;
57 VAR UBYTE dto_supports_write_iff;
58 VAR UBYTE dto_supports_print;
59 VAR UBYTE dto_supports_copy;
60 VAR UBYTE dto_supports_selectall;
61 VAR UBYTE dto_supports_clearselected;
62 /* triggers supported by current dt */
63 VAR UBYTE dto_supports_activate_field;
64 VAR UBYTE dto_supports_next_field;
65 VAR UBYTE dto_supports_prev_field;
66 VAR UBYTE dto_supports_retrace;
67 VAR UBYTE dto_supports_browse_prev;
68 VAR UBYTE dto_supports_browse_next;
69 VAR UBYTE dto_supports_search;
70 VAR UBYTE dto_supports_search_prev;
71 VAR UBYTE dto_supports_search_next;
72 /* variables for picture-dt scaling */
73 VAR UWORD pdt_origwidth;
74 VAR UWORD pdt_origheight;
75 VAR WORD pdt_zoom;
76 VAR BOOL pdt_fit_win;
77 VAR BOOL pdt_keep_aspect;
78 VAR BOOL pdt_force_map;
79 VAR BOOL pdt_pict_dither;
80 /* variable for text-dt word-wraping */
81 VAR BOOL tdt_text_wordwrap;
82 /* variables for AppWindow handling */
83 VAR struct MsgPort *msgport;
84 VAR struct AppWindow *appwindow;
85 VAR ULONG winmask;
86 VAR ULONG msgmask;
87 /* variables for Intuition's ScreenNotify */
88 VAR struct MsgPort *isnport;
89 VAR APTR isnstarted;
90 VAR ULONG isnmask;
91 /* variable for using separate screen */
92 VAR BOOL separate_screen;