aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ColorLUT.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2013-01-13 11:34:30 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-01-13 11:34:30 (GMT)
commiteb725c5c2dad513d12c08bba9a68ea640af5e355 (patch)
treed82147bc991a13ac816d6293b3dedcd9083b66e8 /src/FbTk/ColorLUT.hh
parent8143b86fece2d9be45113db8a1781231ac67c2a2 (diff)
downloadfluxbox-eb725c5c2dad513d12c08bba9a68ea640af5e355.zip
fluxbox-eb725c5c2dad513d12c08bba9a68ea640af5e355.tar.bz2
Use the same lookup-tables for solid and gradient textures
Diffstat (limited to 'src/FbTk/ColorLUT.hh')
-rw-r--r--src/FbTk/ColorLUT.hh34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/FbTk/ColorLUT.hh b/src/FbTk/ColorLUT.hh
new file mode 100644
index 0000000..66b8493
--- /dev/null
+++ b/src/FbTk/ColorLUT.hh
@@ -0,0 +1,34 @@
1// ColorLUT.hh for Fluxbox Window Manager
2// Copyright (c) 2013 - Mathias Gumz <akira at fluxbox dot org>
3//
4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"),
6// to deal in the Software without restriction, including without limitation
7// the rights to use, copy, modify, merge, publish, distribute, sublicense,
8// and/or sell copies of the Software, and to permit persons to whom the
9// Software is furnished to do so, subject to the following conditions:
10//
11// The above copyright notice and this permission notice shall be included in
12// all copies or substantial portions of the Software.
13//
14// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE.
21
22
23namespace FbTk {
24
25namespace ColorLUT {
26
27extern const unsigned char PRE_MULTIPLY_1_5[256];
28extern const unsigned char PRE_MULTIPLY_1_125[256];
29extern const unsigned char PRE_MULTIPLY_0_75[256];
30
31}
32
33}
34