mCtrl  0.9.7
imgview.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Martin Mitas
3  *
4  * This library is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation; either version 2.1 of the License, or
7  * (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef MCTRL_IMGVIEW_H
20 #define MCTRL_IMGVIEW_H
21 
22 #include <mCtrl/_defs.h>
23 #include <mCtrl/_common.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
109 
115 
119 void MCTRL_API mcImgView_Terminate(void);
120 
128 
130 #define MC_WC_IMGVIEWW L"mCtrl.imgView"
131 
132 #define MC_WC_IMGVIEWA "mCtrl.imgView"
133 
141 
143 #define MC_IVS_TRANSPARENT 0x00000001
144 
148 #define MC_IVS_REALSIZECONTROL 0x00000100
149 
153 #define MC_IVS_REALSIZEIMAGE 0x00000200
154 
162 
172 #define MC_IVM_LOADRESOURCEW (MC_IVM_FIRST + 0)
173 
183 #define MC_IVM_LOADRESOURCEA (MC_IVM_FIRST + 1)
184 
194 #define MC_IVM_LOADFILEW (MC_IVM_FIRST + 2)
195 
205 #define MC_IVM_LOADFILEA (MC_IVM_FIRST + 3)
206 
214 
216 #define MC_WC_IMGVIEW MCTRL_NAME_AW(MC_WC_IMGVIEW)
217 
218 #define MC_IVM_LOADRESOURCE MCTRL_NAME_AW(MC_IVM_LOADRESOURCE)
219 
220 #define MC_IVM_LOADFILE MCTRL_NAME_AW(MC_IVM_LOADFILE)
221 
225 #ifdef __cplusplus
226 } /* extern "C" */
227 #endif
228 
229 #endif /* MCTRL_IMGVIEW_H */
#define MCTRL_API
Definition: _defs.h:46
BOOL mcImgView_Initialize(void)
void mcImgView_Terminate(void)
Common definitions.
Common constants and types.