diff options
Diffstat (limited to 'src/FbTk/ImageControl.cc')
-rw-r--r-- | src/FbTk/ImageControl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc index 64e3db5..f209958 100644 --- a/src/FbTk/ImageControl.cc +++ b/src/FbTk/ImageControl.cc | |||
@@ -311,12 +311,12 @@ void ImageControl::colorTables(const unsigned char **rmt, const unsigned char ** | |||
311 | if (bbit) *bbit = blue_bits; | 311 | if (bbit) *bbit = blue_bits; |
312 | } | 312 | } |
313 | 313 | ||
314 | 314 | #ifdef NOT_USED | |
315 | void ImageControl::getXColorTable(XColor **c, int *n) { | 315 | void ImageControl::getXColorTable(XColor **c, int *n) { |
316 | if (c) *c = m_colors; | 316 | if (c) *c = m_colors; |
317 | if (n) *n = m_num_colors; | 317 | if (n) *n = m_num_colors; |
318 | } | 318 | } |
319 | 319 | #endif | |
320 | 320 | ||
321 | void ImageControl::getGradientBuffers(unsigned int w, | 321 | void ImageControl::getGradientBuffers(unsigned int w, |
322 | unsigned int h, | 322 | unsigned int h, |
@@ -373,14 +373,14 @@ void ImageControl::installRootColormap() { | |||
373 | XUngrabServer(disp); | 373 | XUngrabServer(disp); |
374 | } | 374 | } |
375 | 375 | ||
376 | 376 | #ifdef NOT_USED | |
377 | void ImageControl::setColorsPerChannel(int cpc) { | 377 | void ImageControl::setColorsPerChannel(int cpc) { |
378 | if (cpc < 2) cpc = 2; | 378 | if (cpc < 2) cpc = 2; |
379 | if (cpc > 6) cpc = 6; | 379 | if (cpc > 6) cpc = 6; |
380 | 380 | ||
381 | m_colors_per_channel = cpc; | 381 | m_colors_per_channel = cpc; |
382 | } | 382 | } |
383 | 383 | #endif | |
384 | 384 | ||
385 | unsigned long ImageControl::getSqrt(unsigned int x) const { | 385 | unsigned long ImageControl::getSqrt(unsigned int x) const { |
386 | if (! sqrt_table) { | 386 | if (! sqrt_table) { |