]> git.decadent.org.uk Git - ion3.git/blob - ioncore/group-cw.h
b8616a7d7890b9c7d0544f236e0b72d19cc3cf54
[ion3.git] / ioncore / group-cw.h
1 /*
2  * ion/ioncore/group-cw.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
6  * Ion is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  */
11
12 #ifndef ION_IONCORE_GROUPCW_H
13 #define ION_IONCORE_GROUPCW_H
14
15 #include "common.h"
16 #include "group.h"
17 #include "clientwin.h"
18
19
20 DECLCLASS(WGroupCW){
21     WGroup grp;
22     /*WPHolder *fs_pholder;*/
23     WSizePolicy transient_szplcy; /* default transient size policy */
24 };
25
26 extern bool groupcw_init(WGroupCW *cwg, WWindow *parent, const WFitParams *fp);
27 extern WGroupCW *create_groupcw(WWindow *parent, const WFitParams *fp);
28 extern void groupcw_deinit(WGroupCW *cwg);
29
30 extern WPHolder *groupcw_prepare_manage(WGroupCW *cwg, 
31                                         const WClientWin *cwin2,
32                                         const WManageParams *param, 
33                                         int redir);
34
35 extern WPHolder *groupcw_prepare_manage_transient(WGroupCW *cwg, 
36                                                   const WClientWin *transient,
37                                                   const WManageParams *param,
38                                                   int unused);
39
40 extern WRegion *groupcw_load(WWindow *par, const WFitParams *fp, ExtlTab tab);
41
42 #endif /* ION_IONCORE_GROUPCW_H */