mCtrl  0.9.0
expand.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012 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 
96 
101 BOOL MCTRL_API mcExpand_Initialize(void);
102 
106 void MCTRL_API mcExpand_Terminate(void);
107 
108 
113 
115 #define MC_WC_EXPANDW L"mCtrl.expand"
116 
117 #define MC_WC_EXPANDA "mCtrl.expand"
118 
126 
133 #define MC_EXS_CACHESIZES 0x0001
134 
140 #define MC_EXS_RESIZEENTIREWINDOW 0x0002
141 
147 #define MC_EXS_DOUBLEBUFFER 0x0004
148 
156 
168 #define MC_EXM_SETCOLLAPSEDSIZE (MC_EXM_FIRST + 0)
169 
178 #define MC_EXM_GETCOLLAPSEDSIZE (MC_EXM_FIRST + 1)
179 
191  #define MC_EXM_SETEXPANDEDSIZE (MC_EXM_FIRST + 2)
192 
201 #define MC_EXM_GETEXPANDEDSIZE (MC_EXM_FIRST + 3)
202 
210 #define MC_EXM_EXPAND (MC_EXM_FIRST + 4)
211 
219 #define MC_EXM_TOGGLE (MC_EXM_FIRST + 5)
220 
228 #define MC_EXM_ISEXPANDED (MC_EXM_FIRST + 6)
229 
238 
240 #define MC_WC_EXPAND MCTRL_NAME_AW(MC_WC_EXPAND)
241 
245 #ifdef __cplusplus
246 } /* extern "C" */
247 #endif
248 
249 #endif /* MCTRL_EXPAND_H */