view src/layout_image.h @ 67:f63ecca6c087

Fri Oct 13 05:22:43 2006 John Ellis <johne@verizon.net> * bar_sort.c, pan-view.c, preferences.c: Mark strings for translation, plus punctuation fix. * utilops.c: Change auto rename start number to default to 1. * configure.in (ALL_LINGUAS): Add be, ca, ko translations. * gqview.spec.in: Add Italian translation to RPM spec file, submitted by HappyCactus <happycactus@people.it>. * be.po: Add Belarusion translation, submitted by Pavel Piatruk <berserker@neolocation.com>. * ca.po: Add Catalan translation [merge from 2.0.2], submitted by catux.org <mecatxis@ya.com>. * de.po: Update German translation [merge from 2.0.2], submitted by Ronny Steiner <Post@SIRSteiner.de>. * fr.po: Update French translation, submitted by ?ric Lassauge <lassauge@users.sourceforge.net>. * it.po: Update Italian translation, submitted by Kostantino <ciclope10ATalice.it>. * ko.po: Add Korean translation (mostly menus), submitted by Hyun-Jin Moon <moonhyunjin@gmail.com>. * pt_BR.po: Update Brazilian Portuguese translation, submitted by Herval Ribeiro de Azev??do <heraze@gmail.com>. * sk.po: Update Slovak translation, submitted by Mgr. Peter Tuharsky <tuharsky@misbb.sk>. * zh_TW.po: Update Traditional Chinese translation, submitted by S.J. Luo <crystal@mickey.ee.nctu.edu.tw>
author gqview
date Fri, 13 Oct 2006 10:14:59 +0000
parents d907d608745f
children 55166d93498d
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 LAYOUT_IMAGE_H
#define LAYOUT_IMAGE_H


GtkWidget *layout_image_new(LayoutWindow *lw, const gchar *path);

void layout_image_set_path(LayoutWindow *lw, const gchar *path);
void layout_image_set_with_ahead(LayoutWindow *lw, const gchar *path, const gchar *read_ahead_path);

void layout_image_set_index(LayoutWindow *lw, gint index);
void layout_image_set_collection(LayoutWindow *lw, CollectionData *cd, CollectInfo *info);

void layout_image_refresh(LayoutWindow *lw);


const gchar *layout_image_get_path(LayoutWindow *lw);
const gchar *layout_image_get_name(LayoutWindow *lw);
CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info);
gint layout_image_get_index(LayoutWindow *lw);


void layout_image_scroll(LayoutWindow *lw, gint x, gint y);
void layout_image_zoom_adjust(LayoutWindow *lw, gdouble increment);
void layout_image_zoom_set(LayoutWindow *lw, gdouble zoom);
void layout_image_zoom_set_fill_geometry(LayoutWindow *lw, gint vertical);
void layout_image_alter(LayoutWindow *lw, AlterType type);

void layout_image_next(LayoutWindow *lw);
void layout_image_prev(LayoutWindow *lw);
void layout_image_first(LayoutWindow *lw);
void layout_image_last(LayoutWindow *lw);

void layout_image_menu_popup(LayoutWindow *lw);

void layout_image_to_root(LayoutWindow *lw);

void layout_image_full_screen_start(LayoutWindow *lw);
void layout_image_full_screen_stop(LayoutWindow *lw);
void layout_image_full_screen_toggle(LayoutWindow *lw);
gint layout_image_full_screen_active(LayoutWindow *lw);

void layout_image_slideshow_start(LayoutWindow *lw);
void layout_image_slideshow_start_from_list(LayoutWindow *lw, GList *list);
void layout_image_slideshow_stop(LayoutWindow *lw);
void layout_image_slideshow_toggle(LayoutWindow *lw);
gint layout_image_slideshow_active(LayoutWindow *lw);
gint layout_image_slideshow_pause_toggle(LayoutWindow *lw);
gint layout_image_slideshow_paused(LayoutWindow *lw);


void layout_image_overlay_update(LayoutWindow *lw);


void layout_image_maint_renamed(LayoutWindow *lw, const gchar *source, const gchar *dest);
void layout_image_maint_removed(LayoutWindow *lw, const gchar *path);
void layout_image_maint_moved(LayoutWindow *lw, const gchar *source, const gchar *dest);


#endif