home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / plug-ins / imagemap / imap_misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-06  |  1.8 KB  |  53 lines

  1. /*
  2.  * This is a plug-in for the GIMP.
  3.  *
  4.  * Generates clickable image maps.
  5.  *
  6.  * Copyright (C) 1998-1999 Maurits Rijk  lpeek.mrijk@consunet.nl
  7.  *
  8.  * This program is free software; you can redistribute it and/or modify
  9.  * it under the terms of the GNU General Public License as published by
  10.  * the Free Software Foundation; either version 2 of the License, or
  11.  * (at your option) any later version.
  12.  *
  13.  * This program is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  * GNU General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU General Public License
  19.  * along with this program; if not, write to the Free Software
  20.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  21.  *
  22.  */
  23.  
  24. #ifndef _IMAP_MISC_H
  25. #define _IMAP_MISC_H
  26.  
  27. #include "gtk/gtk.h"
  28.  
  29. GtkWidget *make_toolbar_icon(GtkWidget *toolbar, GtkWidget *window, 
  30.                  char **data, const char *identifier, 
  31.                  const char *tooltip,
  32.                  void (*callback)(GtkWidget*, gpointer), 
  33.                  gpointer udata);
  34. GtkWidget *make_toolbar_radio_icon(GtkWidget *toolbar, GtkWidget *window, 
  35.                    GtkWidget *prev, char **data, 
  36.                    const char *identifier, 
  37.                    const char *tooltip, 
  38.                    void (*callback)(GtkWidget*, gpointer),
  39.                    gpointer udata);
  40. GtkWidget *make_toolbar_toggle_icon(GtkWidget *toolbar, GtkWidget *window, 
  41.                     char **data, 
  42.                     const char *identifier, 
  43.                     const char *tooltip, 
  44.                     void (*callback)(GtkWidget*, gpointer),
  45.                     gpointer udata);
  46.  
  47. void set_sash_size(gboolean double_size);
  48. void draw_sash(GdkWindow *window, GdkGC *gc, gint x, gint y);
  49. gboolean near_sash(gint sash_x, gint sash_y, gint x, gint y);
  50.  
  51. #endif /* _IMAP_MISC_H */
  52.  
  53.