]> git.decadent.org.uk Git - ion3.git/blob - ioncore/group-ws.h
e385e28a69c6cefb6f3c62c85b61660a5d1b4b0c
[ion3.git] / ioncore / group-ws.h
1 /*
2  * ion/ioncore/groupws.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2008. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_GROUPWS_H
10 #define ION_IONCORE_GROUPWS_H
11
12 #include <ioncore/common.h>
13 #include <ioncore/rectangle.h>
14 #include <ioncore/group.h>
15 #include "classes.h"
16
17
18 DECLCLASS(WGroupWS){
19     WGroup grp;
20 };
21
22
23 extern WPHolder *groupws_prepare_manage(WGroupWS *ws, 
24                                         const WClientWin *cwin,
25                                         const WManageParams *param, 
26                                         int redir);
27
28 extern WPHolder *groupws_prepare_manage_transient(WGroupWS *ws, 
29                                                   const WClientWin *cwin,
30                                                   const WManageParams *param,
31                                                   int unused);
32
33 extern bool groupws_handle_drop(WGroupWS *ws, int x, int y,
34                                 WRegion *dropped);
35
36 extern WGroupWS *create_groupws(WWindow *parent, const WFitParams *fp);
37 extern bool groupws_init(WGroupWS *ws, WWindow *parent, const WFitParams *fp);
38 extern void groupws_deinit(WGroupWS *ws);
39
40 extern WRegion *groupws_load(WWindow *par, const WFitParams *fp, ExtlTab tab);
41
42 extern void ioncore_groupws_set(ExtlTab tab);
43 extern void ioncore_groupws_get(ExtlTab t);
44
45 #endif /* ION_IONCORE_GROUPWS_H */