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

#ifndef __framergbtruecolor8_h__
#define __framergbtruecolor8_h__

#include "framergb.h"
#include "truecolor8.h"

class FrameRGBTrueColor8 : public FrameRGB, public TrueColor8 {
 private:
  void encodeTrueColor(XColor* src, char* dest) 
  {TrueColor8::encodeTrueColor(src,dest,baseXImage);}
  void encodeTrueColor(unsigned char* src, XImage* ximage) 
  {TrueColor8::encodeTrueColor(src, ximage);}

 public:
  FrameRGBTrueColor8(Tcl_Interp*, Tk_Canvas, Tk_Item*);
  ~FrameRGBTrueColor8();
};

#endif