summaryrefslogtreecommitdiffstats
path: root/tksao/colorbar/colorbarrgbtruecolor24.h
blob: 23c0a42af622cb9cf999fcc8b68fee062afd7de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 1999-2017
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __colorbarrgbtruecolor24_h__
#define __colorbarrgbtruecolor24_h__

#include "colorbarrgb.h"
#include "truecolor24.h"

class ColorbarRGBTrueColor24 : public ColorbarRGB, public TrueColor24 {
private:
  void updateColorsHorz();
  void updateColorsVert();
  void updateColors24Horz(int, int, char*);
  void updateColors24Vert(int, int, char*);
  void updateColors32Horz(int, int, char*);
  void updateColors32Vert(int, int, char*);

public:
  ColorbarRGBTrueColor24(Tcl_Interp*, Tk_Canvas, Tk_Item*);
};

#endif