summaryrefslogtreecommitdiffstats
path: root/tksao/frame/framergbtruecolor8.h
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/framergbtruecolor8.h')
-rw-r--r--tksao/frame/framergbtruecolor8.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tksao/frame/framergbtruecolor8.h b/tksao/frame/framergbtruecolor8.h
new file mode 100644
index 0000000..df9bd88
--- /dev/null
+++ b/tksao/frame/framergbtruecolor8.h
@@ -0,0 +1,23 @@
+// Copyright (C) 1999-2016
+// 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