mCtrl  0.11.1
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 
106 
112 
116 void MCTRL_API mcImgView_Terminate(void);
117 
125 
127 #define MC_WC_IMGVIEWW L"mCtrl.imgView"
128 
129 #define MC_WC_IMGVIEWA "mCtrl.imgView"
130 
138 
140 #define MC_IVS_TRANSPARENT 0x00000001
141 
145 #define MC_IVS_REALSIZECONTROL 0x00000100
146 
150 #define MC_IVS_REALSIZEIMAGE 0x00000200
151 
159 
169 #define MC_IVM_LOADRESOURCEW (MC_IVM_FIRST + 0)
170 
180 #define MC_IVM_LOADRESOURCEA (MC_IVM_FIRST + 1)
181 
191 #define MC_IVM_LOADFILEW (MC_IVM_FIRST + 2)
192 
202 #define MC_IVM_LOADFILEA (MC_IVM_FIRST + 3)
203 
211 
213 #define MC_WC_IMGVIEW MCTRL_NAME_AW(MC_WC_IMGVIEW)
214 
215 #define MC_IVM_LOADRESOURCE MCTRL_NAME_AW(MC_IVM_LOADRESOURCE)
216 
217 #define MC_IVM_LOADFILE MCTRL_NAME_AW(MC_IVM_LOADFILE)
218 
222 #ifdef __cplusplus
223 } /* extern "C" */
224 #endif
225 
226 #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.