diff options
author | Christopher Reimer <mail@creimer.net> | 2013-12-10 14:12:33 +0100 |
---|---|---|
committer | Christian Völlinger <zerov83@gmail.com> | 2013-12-15 10:59:07 +0100 |
commit | b35c5a69889ee3eeb4d3ec136523746fe8ebe233 (patch) | |
tree | b23943da2072841de7f18478b76c5ee266a2d9e9 /lib/options.h | |
parent | ac1d208ddcccbe723418d16470d3604d1379148e (diff) | |
download | vdr-plugin-boblight-b35c5a69889ee3eeb4d3ec136523746fe8ebe233.tar.gz vdr-plugin-boblight-b35c5a69889ee3eeb4d3ec136523746fe8ebe233.tar.bz2 |
Remove lib directory. Better search global for boblight.h Bump version number
Signed-off-by: Christian Völlinger <zerov83@gmail.com>
Diffstat (limited to 'lib/options.h')
-rw-r--r-- | lib/options.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/options.h b/lib/options.h deleted file mode 100644 index 05c3e82..0000000 --- a/lib/options.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * boblight - * Copyright (C) Bob 2009 - * - * boblight is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * boblight is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -// name type min max default variable post-process -BOBLIGHT_OPTION(speed, float, 0.0, 100.0, 100.0, m_speed, m_speed = Clamp(m_speed, 0.0, 100.0); send = true;) -BOBLIGHT_OPTION(autospeed, float, 0, 100.0, 0.0, m_autospeed, m_autospeed = Max(m_autospeed, 0.0);) -BOBLIGHT_OPTION(interpolation, bool, false, true, false, m_interpolation, send = true;) -BOBLIGHT_OPTION(use, bool, false, true, true, m_use, send = true;) -BOBLIGHT_OPTION(saturation, float, 0.0, 20.0, 1.0, m_saturation, m_saturation = Max(m_saturation, 0.0);) -BOBLIGHT_OPTION(saturationmin, float, 0.0, 1.0, 0.0, m_satrange[0], m_satrange[0] = Clamp(m_satrange[0], 0.0, m_satrange[1]);) -BOBLIGHT_OPTION(saturationmax, float, 0.0, 1.0, 1.0, m_satrange[1], m_satrange[1] = Clamp(m_satrange[1], m_satrange[0], 1.0);) -BOBLIGHT_OPTION(value, float, 0.0, 20.0, 1.0, m_value, m_value = Max(m_value, 0.0);) -BOBLIGHT_OPTION(valuemin, float, 0.0, 1.0, 0.0, m_valuerange[0], m_valuerange[0] = Clamp(m_valuerange[0], 0.0, m_valuerange[1]);) -BOBLIGHT_OPTION(valuemax, float, 0.0, 1.0, 1.0, m_valuerange[1], m_valuerange[1] = Clamp(m_valuerange[1], m_valuerange[0], 1.0);) -BOBLIGHT_OPTION(threshold, int, 0, 255, 0, m_threshold, m_threshold = Clamp(m_threshold, 0, 255);) - -BOBLIGHT_OPTION(gamma, float, 0.0, 10.0, 1.0, m_gamma, m_gamma = Max(m_gamma, 0.0); \ - for (int i = 0; i < GAMMASIZE; i++) \ - m_gammacurve[i] = pow((float)i / ((float)GAMMASIZE - 1.0f), m_gamma) * (GAMMASIZE - 1.0f);) - -BOBLIGHT_OPTION(hscanstart, float, 0.0, 100.0, -1.0, m_hscan[0], m_hscan[0] = Clamp(m_hscan[0], 0.0, m_hscan[1]); SetScanRange(m_width, m_height);) -BOBLIGHT_OPTION(hscanend, float, 0.0, 100.0, -1.0, m_hscan[1], m_hscan[1] = Clamp(m_hscan[1], m_hscan[0], 100.0); SetScanRange(m_width, m_height);) -BOBLIGHT_OPTION(vscanstart, float, 0.0, 100.0, -1.0, m_vscan[0], m_vscan[0] = Clamp(m_vscan[0], 0.0, m_vscan[1]); SetScanRange(m_width, m_height);) -BOBLIGHT_OPTION(vscanend, float, 0.0, 100.0, -1.0, m_vscan[1], m_vscan[1] = Clamp(m_vscan[1], m_vscan[0], 100.0); SetScanRange(m_width, m_height);) - - |