
2001-10-02 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the sonumber to 14. * gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h (e_canvas_item_area_shown): New function returns TRUE iff e_canvas_item_show_area would be a noop. svn path=/trunk/; revision=13296
56 lines
1.9 KiB
C
56 lines
1.9 KiB
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* e-canvas-utils.h
|
|
* Copyright (C) 2000 Helix Code, Inc.
|
|
* Author: Chris Lahey <clahey@helixcode.com>
|
|
*
|
|
* This library 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 of the
|
|
* License, 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __E_CANVAS_UTILS__
|
|
#define __E_CANVAS_UTILS__
|
|
|
|
#include <libgnomeui/gnome-canvas.h>
|
|
|
|
BEGIN_GNOME_DECLS
|
|
|
|
void e_canvas_item_move_absolute (GnomeCanvasItem *item,
|
|
double dx,
|
|
double dy);
|
|
void e_canvas_item_show_area (GnomeCanvasItem *item,
|
|
double x1,
|
|
double y1,
|
|
double x2,
|
|
double y2);
|
|
void e_canvas_item_show_area_delayed (GnomeCanvasItem *item,
|
|
double x1,
|
|
double y1,
|
|
double x2,
|
|
double y2,
|
|
gint delay);
|
|
/* Returns TRUE if the area is already shown on the screen (including
|
|
spacing.) This is equivelent to returning FALSE iff show_area
|
|
would do anything. */
|
|
gboolean e_canvas_item_area_shown (GnomeCanvasItem *item,
|
|
double x1,
|
|
double y1,
|
|
double x2,
|
|
double y2);
|
|
|
|
END_GNOME_DECLS
|
|
|
|
#endif /* __E_CANVAS_UTILS__ */
|