/*
* ion/de/style.h
*
- * Copyright (c) Tuomo Valkonen 1999-2006.
+ * Copyright (c) Tuomo Valkonen 1999-2007.
*
* Ion is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
DEBORDER_GROOVE /* \_/xxxx\_/ */
};
+enum{
+ DEBORDER_ALL=0,
+ DEBORDER_TB,
+ DEBORDER_LR
+};
+
enum{
DEALIGN_LEFT=0,
DECLSTRUCT(DEBorder){
uint sh, hl, pad;
uint style;
+ uint sides;
};
DECLSTRUCT(DEStyle){
- char *style;
+ GrStyleSpec spec;
int usecount;
bool is_fallback;
extern void de_reset();
extern void de_deinit_styles();
-extern DEStyle *de_get_style(WRootWin *rootwin, const char *name);
+extern DEStyle *de_get_style(WRootWin *rootwin, const GrStyleSpec *spec);
#endif /* ION_DE_STYLE_H */