/* # skkinput (Simple Kana-Kanji Input)
 * CanvasP.h --- Private header of CanvasWidgetClass
 * This file is part of skkinput.
 * Copyright (C) 1997
 * Takashi SAKAMOTO (sakamoto@yajima.kuis.kyoto-u.ac.jp)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with skkinput; see the file COPYING.  If not, write to
 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 */
#if !defined(CanvasP_h)
#define CanvasP_h

#include "Canvas.h"

typedef struct {
  /* 再描画の時に呼出されるコールバック関数を登録しておくこと！ */
  XtCallbackList redrawcallback ;
  int redraw_request ;
  XtCallbackList destroycallback ;
} CanvasPart ;

typedef struct _CanvasRec {
  CorePart	core ;
  CanvasPart	canvas ;
} CanvasRec ;

/* New fields for the My widget class record */
typedef struct {
  int dummy ;
} CanvasClassPart ;

typedef struct _CanvasClassRec {
  CoreClassPart		core_class ;
  CanvasClassPart	canvas_class ;
} CanvasClassRec ;

extern CanvasClassRec canvasClassRec ;

#endif
