mCtrl  0.9.8
expand.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012-2013 Martin Mitas
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program 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 General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; 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_EXPAND_H
20 #define MCTRL_EXPAND_H
21 
22 #include <mCtrl/_defs.h>
23 #include <mCtrl/_common.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
98 
103 BOOL MCTRL_API mcExpand_Initialize(void);
104 
108 void MCTRL_API mcExpand_Terminate(void);
109 
110 
115 
117 #define MC_WC_EXPANDW L"mCtrl.expand"
118 
119 #define MC_WC_EXPANDA "mCtrl.expand"
120 
128 
135 #define MC_EXS_CACHESIZES 0x0001
136 
142 #define MC_EXS_RESIZEENTIREWINDOW 0x0002
143 
149 #define MC_EXS_DOUBLEBUFFER 0x0004
150 
161 #define MC_EXS_ANIMATE 0x0008
162 
178 #define MC_EXS_IGNORECHILDREN 0x0010
179 
188 
190 #define MC_EXE_NOANIMATE (1 << 0)
191 
199 
211 #define MC_EXM_SETCOLLAPSEDSIZE (MC_EXM_FIRST + 0)
212 
221 #define MC_EXM_GETCOLLAPSEDSIZE (MC_EXM_FIRST + 1)
222 
234  #define MC_EXM_SETEXPANDEDSIZE (MC_EXM_FIRST + 2)
235 
244 #define MC_EXM_GETEXPANDEDSIZE (MC_EXM_FIRST + 3)
245 
253 #define MC_EXM_EXPAND (MC_EXM_FIRST + 4)
254 
262 #define MC_EXM_TOGGLE (MC_EXM_FIRST + 5)
263 
271 #define MC_EXM_ISEXPANDED (MC_EXM_FIRST + 6)
272 
280 
297 #define MC_EXN_EXPANDING (MC_EXN_FIRST + 0)
298 
306 #define MC_EXN_EXPANDED (MC_EXN_FIRST + 1)
307 
315 
317 #define MC_WC_EXPAND MCTRL_NAME_AW(MC_WC_EXPAND)
318 
322 #ifdef __cplusplus
323 } /* extern "C" */
324 #endif
325 
326 #endif /* MCTRL_EXPAND_H */
#define MCTRL_API
Definition: _defs.h:46
BOOL mcExpand_Initialize(void)
void mcExpand_Terminate(void)
Common definitions.
Common constants and types.