4 * Copyright (c) Tuomo Valkonen 1999-2005.
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.
12 #ifndef ION_DE_STYLE_H
13 #define ION_DE_STYLE_H
15 #include <libextl/extl.h>
17 #include <ioncore/common.h>
18 #include <ioncore/gr.h>
19 #include <ioncore/rectangle.h>
28 DEBORDER_INLAID
=0, /* -\xxxxxx/- */
29 DEBORDER_RIDGE
, /* /-\xxxx/-\ */
30 DEBORDER_ELEVATED
, /* /-xxxxxx-\ */
31 DEBORDER_GROOVE
/* \_/xxxx\_/ */
63 DEColourGroup
*extra_cgrps
;
64 GrTransparency transparency_mode
;
71 /* Only initialised if used as a DETabBrush */
72 bool tabbrush_data_ok
;
84 extern bool destyle_init(DEStyle
*style
, WRootWin
*rootwin
, const char *name
);
85 extern void destyle_deinit(DEStyle
*style
);
86 extern DEStyle
*de_create_style(WRootWin
*rootwin
, const char *name
);
87 extern void destyle_unref(DEStyle
*style
);
89 extern void destyle_create_tab_gcs(DEStyle
*style
);
91 extern void de_reset();
92 extern void de_deinit_styles();
94 extern DEStyle
*de_get_style(WRootWin
*rootwin
, const char *name
);
97 #endif /* ION_DE_STYLE_H */