// -*- c++ -*-
/*  Generated by gensig from preview.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_PREVIEW_HEADER
#define GTKMM_PREVIEW_HEADER
/* $Id: preview.gen_h,v 1.21.2.1 1999/03/20 04:59:55 terop Exp $ */

/* preview.h
 * 
 * Copyright (C) 1998-1999 
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gtk--/widget.h>
#include <gtk/gtkpreview.h>
class Gtk_Preview_Class;
#line 24 "preview.gen_h"

class Gtk_Preview : public Gtk_Widget {
public:
protected:
  typedef Gtk_Preview_Class    CppClassType;
  typedef GtkPreview           BaseObjectType;
  typedef GtkPreviewClass      BaseClassType;

  virtual void *get_parent_class();

private:
  friend CppClassType;
  static CppClassType preview_class; 
  GtkType get_type(); 

public:


  Gtk_Preview(GtkPreviewType type);
  Gtk_Preview(GtkPreview *castitem);

  void size                    (gint width,
				gint height);
  void put                     (Gdk_Window &window,
				Gdk_GC &gc,
				gint srcx, gint srcy,
				gint destx, gint desty,
				gint width, gint height);
#line 45 "preview.gen_h"

  void draw_row                (const guchar *data,
				gint x, gint y, gint w);
  void set_expand              (bool expand);
  static void set_gamma        (double gamma);
  static void set_color_cube   (guint nred_shades,
				guint ngreen_shades,
				guint nblue_shades,
				guint ngray_shades);
  static void set_install_cmap (bool install_cmap);
  static void set_reserved     (gint nreserved);
  static Gdk_Visual get_visual ();
  static Gdk_Colormap get_cmap ();
  static GtkPreviewInfo * get_info();
  static void reset();
  static void uninit();
  
#line 63 "preview.gen_h"
  void set_dither              (GdkRgbDither     dither);
#line 65 "preview.gen_h"

protected:
  /* impl functions */
public:
  GtkPreview* gtkobj() { return GTK_PREVIEW(gtkobject); }
  const GtkPreview* gtkobj() const { return GTK_PREVIEW(gtkobject); }
  static bool isGtkPreview(Gtk_Object *checkcast);
#line 66 "preview.gen_h"

};

#endif
