gimp/app/docindex.h
Michael Natterer 1e08aa1ef7 app/color_area.[ch] app/color_panel.[ch] enabled dnd for colors
1999-08-22  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/color_area.[ch]
	* app/color_panel.[ch]
	* app/gimpdnd.[ch]: enabled dnd for colors (compatible with the
	standard gtk/gnome color dnd). The color selection is now invoked
	on a real click, not on button_down to avoid confusion with dnd.

	* app/channels_dialog.c
	* app/disp_callbacks.c
	* app/interface.c
	* app/layers_dialog.c: minor dnd updates/fixes.

	* app/channel.[ch]
	* app/channel_pvt.h
	* app/docindex.[ch]
	* app/docindexif.[ch]
	* app/drawable.[ch]
	* app/floating_sel.c
	* app/gimage.[ch]
	* app/gimage_mask.c
	* app/gimpdrawable.[ch]
	* app/gimpdrawableP.h
	* app/gimpimage.[ch]
	* app/gimpimageP.h
	* app/layer.[ch]
	* app/layer_pvt.h
	* app/undo.c
	* app/xcf.c: wanted to do some s/int/gboolean/ in the layer files
	where appropriate and found myself spending the whole night doing
	a big code review for layers/channels/drawables/images:
	s/int/gboolean/, s/<type>/g<type>/, lots of indentation, removed
	some old global variables and deprecated functions, #include
	cleanups, proper prototypes, copyright headers, ...
1999-08-22 11:45:31 +00:00

78 lines
2.2 KiB
C

/* docindex.h - Header file for the document index.
*
* Copyright (C) 1998 Chris Lahey.
*
* 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.
*/
#ifndef __DOCINDEX_H__
#define __DOCINDEX_H__
#include <stdio.h>
#include <gtk/gtk.h>
typedef struct idea_manager
{
/* The scrollbar */
GtkWidget *vscrollbar,
/* The GTK window */
*window;
GtkWidget *tree;
/* The menufactory */
GtkMenuFactory *menubar;
/* The window menu widget */
GtkWidget *window_menu;
/* The status bar widget */
GtkWidget *status;
/* The main status context id */
guint contextid;
gboolean changed;
gboolean named;
gchar *title;
gint auto_save;
gint long_term_auto_save;
gint count;
} idea_manager;
void raise_idea_callback (GtkWidget *widget,
gpointer data);
void make_idea_window (gint x,
gint y);
void open_idea_window (void);
void close_idea_window (void);
void idea_add (gchar *label);
void idea_add_in_position (gchar *label,
gint position);
void idea_hide_callback (GtkWidget *widget, gpointer data);
void idea_up_callback (GtkWidget *widget, gpointer data);
void idea_down_callback (GtkWidget *widget, gpointer data);
void idea_remove_callback (GtkWidget *widget, gpointer data);
gboolean idea_window_delete_event_callback (GtkWidget *widget,
GdkEvent *event,
gpointer data);
void docindex_configure_drop_on_widget (GtkWidget *widget);
FILE * idea_manager_parse_init (gint *window_x,
gint *window_y,
gint *window_width,
gint *window_height);
gchar * idea_manager_parse_line (FILE *fp);
void load_idea_manager (idea_manager *);
void save_idea_manager (idea_manager *);
extern idea_manager *ideas;
#endif /* __DOCINDEX_H__ */