view src/info.h @ 35:e46aedb70f67

Fri Apr 8 15:31:38 2005 John Ellis <johne@verizon.net> * pan-view.c: Optimize pan_layout_intersect by dividing object list into smaller sets (of ~ 1000 each) grouped by coordinates, this makes drawing tiles much faster when the window contains > 100,000 images. This adds the complexity of walking two lists when searching for a specific item, but the speed increase is worth it. ##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. #####
author gqview
date Fri, 08 Apr 2005 19:43:25 +0000
parents d907d608745f
children 71e1ebee420e
line wrap: on
line source

/*
 * GQview
 * (C) 2004 John Ellis
 *
 * Author: John Ellis
 *
 * This software is released under the GNU General Public License (GNU GPL).
 * Please read the included file COPYING for more information.
 * This software comes with no warranty of any kind, use at your own risk!
 */


#ifndef INFO_H
#define INFO_H


typedef struct _InfoData InfoData;
struct _InfoData
{
	GtkWidget *window;
	ImageWindow *image;

	GList *list;

	const gchar *path;

	GtkWidget *notebook;
	GtkWidget *name_entry;

	GtkWidget *button_next;
	GtkWidget *button_back;
	GtkWidget *label_count;

	GList *tab_list;

	gint updated;
};


void info_window_new(const gchar *path, GList *list);

GtkWidget *table_add_line(GtkWidget *table, gint x, gint y,
			  const gchar *description, const gchar *text);


#endif