X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=de%2Fstyle.h;h=11fbc5efbbf4acb3fe5870d1a436ee779c40fecc;hb=b355f9832d094cdb9e700e01cbc063e3fdb4f58b;hp=90dfc07345bae0c619687b0f0909ca7707c8008f;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/de/style.h b/de/style.h index 90dfc07..11fbc5e 100644 --- a/de/style.h +++ b/de/style.h @@ -3,10 +3,7 @@ * * 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 - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #ifndef ION_DE_STYLE_H @@ -31,6 +28,12 @@ enum{ DEBORDER_GROOVE /* \_/xxxx\_/ */ }; +enum{ + DEBORDER_ALL=0, + DEBORDER_TB, + DEBORDER_LR +}; + enum{ DEALIGN_LEFT=0, @@ -42,6 +45,7 @@ enum{ DECLSTRUCT(DEBorder){ uint sh, hl, pad; uint style; + uint sides; }; @@ -66,7 +70,7 @@ DECLSTRUCT(DEStyle){ int textalign; uint spacing; - ExtlTab data_table; + ExtlTab extras_table; /* Only initialised if used as a DETabBrush */ bool tabbrush_data_ok; @@ -93,5 +97,8 @@ extern void de_deinit_styles(); extern DEStyle *de_get_style(WRootWin *rootwin, const GrStyleSpec *spec); +extern void destyle_add(DEStyle *style); +extern void destyle_dump(DEStyle *style); + #endif /* ION_DE_STYLE_H */