4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
10 #define ION_DE_STYLE_H
12 #include <libextl/extl.h>
14 #include <ioncore/common.h>
15 #include <ioncore/gr.h>
16 #include <ioncore/rectangle.h>
25 DEBORDER_INLAID
=0, /* -\xxxxxx/- */
26 DEBORDER_RIDGE
, /* /-\xxxx/-\ */
27 DEBORDER_ELEVATED
, /* /-xxxxxx-\ */
28 DEBORDER_GROOVE
/* \_/xxxx\_/ */
67 DEColourGroup
*extra_cgrps
;
68 GrTransparency transparency_mode
;
75 /* Only initialised if used as a DETabBrush */
76 bool tabbrush_data_ok
;
88 extern bool destyle_init(DEStyle
*style
, WRootWin
*rootwin
, const char *name
);
89 extern void destyle_deinit(DEStyle
*style
);
90 extern DEStyle
*de_create_style(WRootWin
*rootwin
, const char *name
);
91 extern void destyle_unref(DEStyle
*style
);
93 extern void destyle_create_tab_gcs(DEStyle
*style
);
95 extern void de_reset();
96 extern void de_deinit_styles();
98 extern DEStyle
*de_get_style(WRootWin
*rootwin
, const GrStyleSpec
*spec
);
100 extern void destyle_add(DEStyle
*style
);
101 extern void destyle_dump(DEStyle
*style
);
104 #endif /* ION_DE_STYLE_H */