]> git.decadent.org.uk Git - ion3.git/blob - ioncore/group-ws.h
1fee2235b432fe57cd11e6bc9a7359d56611bd3b
[ion3.git] / ioncore / group-ws.h
1 /*
2  * ion/ioncore/groupws.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_GROUPWS_H
13 #define ION_IONCORE_GROUPWS_H
14
15 #include <ioncore/common.h>
16 #include <ioncore/rectangle.h>
17 #include <ioncore/group.h>
18 #include "classes.h"
19
20
21 DECLCLASS(WGroupWS){
22     WGroup grp;
23 };
24
25
26 extern WPHolder *groupws_prepare_manage(WGroupWS *ws, 
27                                         const WClientWin *cwin,
28                                         const WManageParams *param, 
29                                         int redir);
30
31 extern WPHolder *groupws_prepare_manage_transient(WGroupWS *ws, 
32                                                   const WClientWin *cwin,
33                                                   const WManageParams *param,
34                                                   int unused);
35
36 extern bool groupws_handle_drop(WGroupWS *ws, int x, int y,
37                                 WRegion *dropped);
38
39 extern WGroupWS *create_groupws(WWindow *parent, const WFitParams *fp);
40 extern bool groupws_init(WGroupWS *ws, WWindow *parent, const WFitParams *fp);
41 extern void groupws_deinit(WGroupWS *ws);
42
43 extern WRegion *groupws_load(WWindow *par, const WFitParams *fp, ExtlTab tab);
44
45 extern void ioncore_groupws_set(ExtlTab tab);
46 extern void ioncore_groupws_get(ExtlTab t);
47
48 #endif /* ION_IONCORE_GROUPWS_H */