mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-24 09:31:24 +00:00
9ca67bb02c
2000-02-14 Michael Natterer <mitch@gimp.org> * app/color_area.c * app/color_notebook.[ch] * app/color_panel.c * app/colormap_dialog.p.h * app/palette.c: s/ColorNotebookP/ColorNotebook*/g
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
#ifndef _g_gimp_colormap_dialog_prot
|
|
#define _g_gimp_colormap_dialog_prot
|
|
#include <colormap_dialog.h>
|
|
#include <gtk/gtkdialog.h>
|
|
#include <gimpimage.h>
|
|
#include <glib.h>
|
|
#include <gtk/gtkwidget.h>
|
|
#include <gtk/gtkpreview.h>
|
|
#include <gtk/gtkoptionmenu.h>
|
|
#include <gimpset.h>
|
|
#include <gtk/gtkentry.h>
|
|
#include <color_notebook.h>
|
|
|
|
|
|
typedef struct _GimpColormapDialogClass GimpColormapDialogClass;
|
|
struct _GimpColormapDialogClass {
|
|
GtkDialogClass parent_class;
|
|
void (*selected) (GimpColormapDialog*);
|
|
};
|
|
struct _GimpColormapDialog {
|
|
GtkDialog parent;
|
|
GimpImage* image;
|
|
gint col_index;
|
|
gint dnd_col_index;
|
|
GtkWidget* vbox;
|
|
GtkPreview* palette;
|
|
GtkWidget* image_menu;
|
|
GtkWidget* popup_menu;
|
|
GtkOptionMenu* option_menu;
|
|
GimpSet* context;
|
|
guint event_handler;
|
|
gint xn;
|
|
gint yn;
|
|
gint cellsize;
|
|
GtkWidget* index_spinbutton;
|
|
GtkAdjustment* index_adjustment;
|
|
GtkEntry* color_entry;
|
|
GimpSetHandlerId rename_handler;
|
|
GimpSetHandlerId cmap_changed_handler;
|
|
GtkWidget* add_item;
|
|
ColorNotebook *color_notebook;
|
|
};
|
|
void gimp_colormap_dialog_selected (
|
|
GimpColormapDialog* colormap_dialog);
|
|
#endif /* _g_gimp_colormap_dialog_prot */
|