Rev 477 | Rev 503 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 477 | Rev 478 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | 25 | ||
26 | #define use_plugin_dll_sliders |
26 | #define use_plugin_dll_sliders |
27 | 27 | ||
28 | #ifdef use_plugin_dll_sliders |
28 | #ifdef use_plugin_dll_sliders |
29 | // PLUGIN.DLL Sliders |
29 | // PLUGIN.DLL Sliders |
30 | BOOL RegisterSlider(HINSTANCE hInstanceDll, DWORD* MessageID); |
30 | BOOL PluginDll_RegisterSlider(HINSTANCE hInstanceDll, DWORD* MessageID); |
31 | BOOL UnRegisterSlider(HINSTANCE hInstanceDll); |
31 | BOOL PluginDll_UnRegisterSlider(HINSTANCE hInstanceDll); |
32 | int SetSliderRange(HWND hWnd, int nMin, int nMax); |
32 | int PluginDll_SetSliderRange(HWND hWnd, int nMin, int nMax); |
33 | int SetSliderPos(HWND hWnd, int nPos, BOOL bRepaint); |
- | |
34 | int GetSliderPos(HWND hWnd, BOOL bPixelPosition); |
- | |
35 | #else |
- | |
36 | // This dummy is required, otherwise ui_compat.h won't compile |
- | |
37 | int SetSliderPos(HWND hWnd, int nPos, BOOL bRepaint); |
33 | int PluginDll_SetSliderPos(HWND hWnd, int nPos, BOOL bRepaint); |
38 | int GetSliderPos(HWND hWnd, BOOL bPixelPosition); |
34 | int PluginDll_GetSliderPos(HWND hWnd, BOOL bPixelPosition); |
39 | #endif |
35 | #endif |
40 | 36 | ||
- | 37 | // Use these functions ONLY ! |
|
- | 38 | void FF_SetSliderRange(HWND hDlg, int nIDDlgItem, int min, int max); |
|
- | 39 | int FF_GetSliderPos(HWND hDlg, int nIDDlgItem); |
|
- | 40 | void FF_SetSliderPos(HWND hDlg, int nIDDlgItem, int pos); |
|
- | 41 | ||
41 | // Misc utilities |
42 | // Misc utilities |
42 | Boolean MakeSimpleSubclass(LPCTSTR targetClass, LPCTSTR sourceClass); |
43 | Boolean MakeSimpleSubclass(LPCTSTR targetClass, LPCTSTR sourceClass); |
43 | void Win32sFixSuperclassing(HWND hDlg, int destItem, int sourceItem); |
44 | void Win32sFixSuperclassing(HWND hDlg, int destItem, int sourceItem); |
44 | 45 | ||
45 | // Init and uninit |
46 | // Init and uninit |