// Copyright (C) 1999-2014
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __frametrue_h__
#define __frametrue_h__

#include "frame3dbase.h"

class Frame3dTrue : public virtual Frame3dBase {
 protected:
  int byteorder_;
  int bitsperpixel_;

 protected:
  void encodeTrueColor(int oo, int bb) {byteorder_ = oo; bitsperpixel_ = bb;}
  virtual void encodeTrueColor(XColor*, char*) =0;
  virtual void encodeTrueColor(unsigned char*, XImage*) =0;

 public:
  Frame3dTrue(Tcl_Interp*, Tk_Canvas, Tk_Item*);
  virtual ~Frame3dTrue();
};

#endif
