diff options
Diffstat (limited to 'tksao/frame/frame3dtruecolor24.h')
-rw-r--r-- | tksao/frame/frame3dtruecolor24.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tksao/frame/frame3dtruecolor24.h b/tksao/frame/frame3dtruecolor24.h new file mode 100644 index 0000000..df898a8 --- /dev/null +++ b/tksao/frame/frame3dtruecolor24.h @@ -0,0 +1,26 @@ +// Copyright (C) 1999-2016 +// Smithsonian Astrophysical Observatory, Cambridge, MA, USA +// For conditions of distribution and use, see copyright notice in "copyright" + +#ifndef __frame3dtruecolor24_h__ +#define __frame3dtruecolor24_h__ + +#include "frame3d.h" +#include "truecolor24.h" + +class Frame3dTrueColor24 : public Frame3d, public TrueColor24 { +private: + void encodeTrueColor(XColor* src, char* dest) + {TrueColor24::encodeTrueColor(src,dest,baseXImage);} + void encodeTrueColor(unsigned char* src, XImage* ximage) + {TrueColor24::encodeTrueColor(src, ximage);} + void updateColorScale(); + void updateColorScale24(); + void updateColorScale32(); + +public: + Frame3dTrueColor24(Tcl_Interp*, Tk_Canvas, Tk_Item*); + ~Frame3dTrueColor24(); +}; + +#endif |