diff options
Diffstat (limited to 'tksao/frame/frametruecolor8.h')
-rw-r--r-- | tksao/frame/frametruecolor8.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tksao/frame/frametruecolor8.h b/tksao/frame/frametruecolor8.h new file mode 100644 index 0000000..a01e114 --- /dev/null +++ b/tksao/frame/frametruecolor8.h @@ -0,0 +1,24 @@ +// Copyright (C) 1999-2016 +// Smithsonian Astrophysical Observatory, Cambridge, MA, USA +// For conditions of distribution and use, see copyright notice in "copyright" + +#ifndef __frametruecolor8_h__ +#define __frametruecolor8_h__ + +#include "frame.h" +#include "truecolor8.h" + +class FrameTrueColor8 : public Frame, 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);} + void updateColorScale(); + +public: + FrameTrueColor8(Tcl_Interp*, Tk_Canvas, Tk_Item*); + ~FrameTrueColor8(); +}; + +#endif |