/* $Id: canvas.h,v 1.5 1996/11/22 16:29:16 aml Exp $ */

#ifndef _CANVAS_DOT_H_
#define _CANVAS_DOT_H_

#include "../canvas/default.h"
#include "../canvas/tclInt.h"
#include "../canvas/tkInt.h"
#include "../canvas/tkPort.h"
#include "../canvas/tkCanvas.h"


typedef struct canvas {
  Command *cmdPtr;
  int *col_origin;
  int *row_origin;
  char *argv[20];
  int width;
  int height;
  int x_origin;
  int y_origin;
  void *sheet;
} Canvas;


extern struct canvas *global_canvas_info;

#endif

/*$Log: canvas.h,v $
 *Revision 1.5  1996/11/22 16:29:16  aml
 *First cut at transforming canvas into a true cell widget.
 *Text, lines and rectangles are now relative to row and colunm numbers.
 *It still has a bug with wrong estimation of column widths.
 *
 * Revision 1.4  1996/08/28  17:17:52  aml
 * Load and save now accept string_value for formula cells.
 * This fixes previous thought problem of formula values not
 * being stored.
 * Functions upper,lower and proper created.
 * Function if can now return labels.
 * Fixed problem with function count.
 * Reasonably stable version, very used to manipulate notas.wk1.
 *
 *Revision 1.3  1996/08/26 12:08:49  aml
 *Fixed problem with several sheets. Each canvas now has its own
 *canvas info.
 *Fixed scroll up and down. Implemented max_row and max_col.
 *Fairly stable version.
 *
 * Revision 1.2  1996/08/24  11:04:00  aml
 * ifdefs
 */


