mCtrl  0.9.2
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 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 
97 
102 BOOL MCTRL_API mcExpand_Initialize(void);
103 
107 void MCTRL_API mcExpand_Terminate(void);
108 
109 
114 
116 #define MC_WC_EXPANDW L"mCtrl.expand"
117 
118 #define MC_WC_EXPANDA "mCtrl.expand"
119 
127 
134 #define MC_EXS_CACHESIZES 0x0001
135 
141 #define MC_EXS_RESIZEENTIREWINDOW 0x0002
142 
148 #define MC_EXS_DOUBLEBUFFER 0x0004
149 
160 #define MC_EXS_ANIMATE 0x0008
161 
177 #define MC_EXS_IGNORECHILDREN 0x0010
178 
187 
189 #define MC_EXE_NOANIMATE (1 << 0)
190 
198 
210 #define MC_EXM_SETCOLLAPSEDSIZE (MC_EXM_FIRST + 0)
211 
220 #define MC_EXM_GETCOLLAPSEDSIZE (MC_EXM_FIRST + 1)
221 
233  #define MC_EXM_SETEXPANDEDSIZE (MC_EXM_FIRST + 2)
234 
243 #define MC_EXM_GETEXPANDEDSIZE (MC_EXM_FIRST + 3)
244 
252 #define MC_EXM_EXPAND (MC_EXM_FIRST + 4)
253 
261 #define MC_EXM_TOGGLE (MC_EXM_FIRST + 5)
262 
270 #define MC_EXM_ISEXPANDED (MC_EXM_FIRST + 6)
271 
279 
296 #define MC_EXN_EXPANDING (MC_EXN_FIRST + 0)
297 
305 #define MC_EXN_EXPANDED (MC_EXN_FIRST + 1)
306 
314 
316 #define MC_WC_EXPAND MCTRL_NAME_AW(MC_WC_EXPAND)
317 
321 #ifdef __cplusplus
322 } /* extern "C" */
323 #endif
324 
325 #endif /* MCTRL_EXPAND_H */