aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Texture.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-25 02:19:04 (GMT)
committersimonb <simonb>2006-04-25 02:19:04 (GMT)
commit3707b74c40256c09465171d39e2c4d95aeaefb0e (patch)
treedcb835e0ee929b65b53d0c9d0538167f1840245b /src/FbTk/Texture.hh
parentfae88b329c63c16755f2c9b7a5a655a1414ab10f (diff)
downloadfluxbox-3707b74c40256c09465171d39e2c4d95aeaefb0e.zip
fluxbox-3707b74c40256c09465171d39e2c4d95aeaefb0e.tar.bz2
fix a bunch of comments, make default textures obvious
Thanks Jonas Koelker
Diffstat (limited to 'src/FbTk/Texture.hh')
-rw-r--r--src/FbTk/Texture.hh11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/FbTk/Texture.hh b/src/FbTk/Texture.hh
index 162cf44..35b628b 100644
--- a/src/FbTk/Texture.hh
+++ b/src/FbTk/Texture.hh
@@ -39,15 +39,18 @@ class Texture {
39public: 39public:
40 40
41 enum Bevel { 41 enum Bevel {
42 // why are we not using the lowest-order bit?
42 FLAT = 0x00002, 43 FLAT = 0x00002,
43 SUNKEN = 0x00004, 44 SUNKEN = 0x00004,
44 RAISED = 0x00008 45 RAISED = 0x00008,
46 DEFAULT_BEVEL = FLAT,
45 }; 47 };
46 48
47 enum Textures { 49 enum Textures {
48 NONE = 0x00000, 50 NONE = 0x00000,
49 SOLID = 0x00010, 51 SOLID = 0x00010,
50 GRADIENT = 0x00020 52 GRADIENT = 0x00020,
53 DEFAULT_TEXTURE = SOLID,
51 }; 54 };
52 55
53 enum Gradients { 56 enum Gradients {
@@ -58,7 +61,7 @@ public:
58 RECTANGLE = 0x00400, 61 RECTANGLE = 0x00400,
59 PYRAMID = 0x00800, 62 PYRAMID = 0x00800,
60 PIPECROSS = 0x01000, 63 PIPECROSS = 0x01000,
61 ELLIPTIC = 0x02000 64 ELLIPTIC = 0x02000
62 }; 65 };
63 66
64 enum { 67 enum {