blob: edb5cee371b10944018310d1c2cc89523559f436 (
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-2016
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"
#ifndef __frametruecolor16_h__
#define __frametruecolor16_h__
#include "frame.h"
#include "truecolor16.h"
class FrameTrueColor16 : public Frame, public TrueColor16 {
private:
void encodeTrueColor(XColor* src, char* dest)
{TrueColor16::encodeTrueColor(src,dest,baseXImage);}
void encodeTrueColor(unsigned char* src, XImage* ximage)
{TrueColor16::encodeTrueColor(src, ximage);}
void updateColorScale();
public:
FrameTrueColor16(Tcl_Interp*, Tk_Canvas, Tk_Item*);
~FrameTrueColor16();
};
#endif
|