diff options
Diffstat (limited to 'tkagif/tkagif.h')
-rw-r--r-- | tkagif/tkagif.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tkagif/tkagif.h b/tkagif/tkagif.h new file mode 100644 index 0000000..55702f6 --- /dev/null +++ b/tkagif/tkagif.h @@ -0,0 +1,27 @@ +// Copyright (C) 1999-2015 +// Smithsonian Astrophysical Observatory, Cambridge, MA, USA +// For conditions of distribution and use, see copyright notice in "copyright" + +#ifndef __tkagif_h__ +#define __tkagif_h__ + +class TkAGIF { + private: + Tcl_Interp* interp_; + int width_; + int height_; + + Tcl_HashTable* color_; + + public: + TkAGIF(Tcl_Interp*); + + int create(int, const char*[]); + int color(int, const char*[]); + int add(int, const char*[]); + int close(int, const char*[]); +}; + +extern TkAGIF* tkagif; + +#endif |