summaryrefslogtreecommitdiffstats
path: root/tksao/frame/frame3dtruecolor16.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 18:59:29 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 18:59:29 (GMT)
commitd4d595fa7fb12903db9227d33d48b2b00120dbd1 (patch)
tree7d18365de0d6d1b29399b6a17c7eb01c2eb3ed49 /tksao/frame/frame3dtruecolor16.h
parent949f96e29bfe0bd8710d775ce220e597064e2589 (diff)
downloadblt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.zip
blt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.tar.gz
blt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.tar.bz2
Initial commit
Diffstat (limited to 'tksao/frame/frame3dtruecolor16.h')
-rw-r--r--tksao/frame/frame3dtruecolor16.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/tksao/frame/frame3dtruecolor16.h b/tksao/frame/frame3dtruecolor16.h
new file mode 100644
index 0000000..396ddb7
--- /dev/null
+++ b/tksao/frame/frame3dtruecolor16.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 __frame3dtruecolor16_h__
+#define __frame3dtruecolor16_h__
+
+#include "frame3d.h"
+#include "truecolor16.h"
+
+class Frame3dTrueColor16 : public Frame3d, 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:
+ Frame3dTrueColor16(Tcl_Interp*, Tk_Canvas, Tk_Item*);
+ ~Frame3dTrueColor16();
+};
+
+#endif