Rev 488 | Rev 492 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 488 | Rev 489 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | HMODULE hLib; |
71 | HMODULE hLib; |
72 | DWORD messageId; |
72 | DWORD messageId; |
73 | } plugin_dll_slider_info; |
73 | } plugin_dll_slider_info; |
74 | #endif |
74 | #endif |
75 | 75 | ||
76 | // size: 0x2088 (8328 Bytes) |
76 | // size: 0x2090 (8336 Bytes) |
77 | typedef struct globals_t_ { |
77 | typedef struct globals_t_ { |
78 | PARM_T parm; |
78 | PARM_T parm; |
79 | Boolean standalone; |
79 | Boolean standalone; |
80 | Boolean parmloaded; // this means that the filter is loaded, but without PARM (title, author, etc.) |
80 | Boolean parmloaded; // this means that the filter is loaded, but without PARM (title, author, etc.) |
81 | Boolean obfusc; |
81 | Boolean obfusc; |
- | 82 | // (padding of 1 byte here) |
|
- | 83 | OSType lastKnownBufferVersion; |
|
- | 84 | OSType lastKnownHandleVersion; |
|
82 | #ifdef _WIN32 |
85 | #ifdef _WIN32 |
83 | HWND hWndMainDlg; |
86 | HWND hWndMainDlg; |
84 | none_slider_info noneSliderInfo; |
87 | none_slider_info noneSliderInfo; |
85 | comctl_slider_info comctlSliderInfo; |
88 | comctl_slider_info comctlSliderInfo; |
86 | plugin_dll_slider_info pluginDllSliderInfo; |
89 | plugin_dll_slider_info pluginDllSliderInfo; |
87 | #endif /* _WIN32 */ |
90 | #endif /* _WIN32 */ |
88 | OSType lastKnownBufferVersion; |
- | |
89 | OSType lastKnownHandleVersion; |
- | |
90 | } globals_t; |
91 | } globals_t; |
91 | 92 | ||
92 | extern globals_t *gdata; |
93 | extern globals_t *gdata; |
93 | 94 | ||
94 | #define NUM_CELLS 0x100 |
95 | #define NUM_CELLS 0x100 |
Line 172... | Line 173... | ||
172 | 173 | ||
173 | // from funcs.c |
174 | // from funcs.c |
174 | void factory_initialize_rnd_variables(); |
175 | void factory_initialize_rnd_variables(); |
175 | 176 | ||
176 | // Useful macros |
177 | // Useful macros |
- | 178 | ||
- | 179 | // Note: "bigDocumentData->PluginUsing32BitCoordinates" will be set by filterSelectorStart, if HAS_BIG_DOC(pb) is true |
|
177 | #define HAS_BIG_DOC(x) ((x)->bigDocumentData != NULL) |
180 | #define HAS_BIG_DOC(x) ((x)->bigDocumentData != NULL) |
178 | 181 | ||
179 | #define BIGDOC_IMAGE_SIZE(x) ((x)->bigDocumentData->imageSize32) |
182 | #define BIGDOC_IMAGE_SIZE(x) ((x)->bigDocumentData->imageSize32) |
180 | #define IMAGE_SIZE(x) ((x)->imageSize) |
183 | #define IMAGE_SIZE(x) ((x)->imageSize) |
181 | 184 |