4 * Copyright (c) Tuomo Valkonen 1999-2007.
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\_/ */
70 DEColourGroup *extra_cgrps;
71 GrTransparency transparency_mode;
78 /* Only initialised if used as a DETabBrush */
79 bool tabbrush_data_ok;
91 extern bool destyle_init(DEStyle *style, WRootWin *rootwin, const char *name);
92 extern void destyle_deinit(DEStyle *style);
93 extern DEStyle *de_create_style(WRootWin *rootwin, const char *name);
94 extern void destyle_unref(DEStyle *style);
96 extern void destyle_create_tab_gcs(DEStyle *style);
98 extern void de_reset();
99 extern void de_deinit_styles();
101 extern DEStyle *de_get_style(WRootWin *rootwin, const GrStyleSpec *spec);
104 #endif /* ION_DE_STYLE_H */