home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / plug-ins / gdyntext / charmap_window.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-30  |  2.0 KB  |  69 lines

  1. /*
  2.  * GIMP Dynamic Text -- This is a plug-in for The GIMP 1.0
  3.  * Copyright (C) 1998,1999,2000 Marco Lamberto <lm@geocities.com>
  4.  * Web page: http://www.geocities.com/Tokyo/1474/gimp/
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * (at your option) any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  19.  *
  20.  * $Id: charmap_window.h,v 1.2 2000/07/30 13:13:32 neo Exp $
  21.  */
  22.  
  23. #ifndef _CHARMAP_WINDOW_H_
  24. #define _CHARMAP_WINDOW_H_
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif /* __cplusplus */
  29.  
  30. #include "charmap.h"
  31.  
  32.  
  33. #define CHARMAP_WINDOW(obj)                    GTK_CHECK_CAST(obj, charmap_window_get_type(), CharMapWindow)
  34. #define CHARMAP_WINDOW_CLASS(klass)    GTK_CHECK_CLASS_CAST(klass, charmap_window_get_type(), CharMapWindowClass)
  35. #define IS_CHARMAP_WINDOW(obj)            GTK_CHECK_TYPE(obj, charmap_window_get_type())
  36.  
  37.  
  38. typedef struct _CharMapWindow                CharMapWindow;
  39. typedef struct _CharMapWindowClass    CharMapWindowClass;
  40.  
  41.  
  42. struct _CharMapWindow
  43. {
  44.     GtkWindow window;
  45.  
  46.     GtkWidget *charmap;
  47.     GtkWidget *scrolledwindow;
  48.     GtkWidget *label;
  49.     GtkWidget *insert_button;
  50.     GtkWidget *close_button;
  51. };
  52.  
  53. struct _CharMapWindowClass
  54. {
  55.     GtkWindowClass parent_class;
  56. };
  57.  
  58.  
  59. guint                charmap_window_get_type(void);
  60. GtkWidget*    charmap_window_new(const gchar *title);
  61.  
  62. #ifdef __cplusplus
  63. }
  64. #endif /* __cplusplus */
  65.  
  66. #endif /* _CHARMAP_WINDOW_H_ */
  67.  
  68. /* vim: set ts=2 sw=2 tw=79 ai nowrap: */
  69.