1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3
/* Nautilus - Canvas item for floating selection.
5
* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation
6
* Copyright (C) 2011 Red Hat Inc.
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Library General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Library General Public License for more details.
18
* You should have received a copy of the GNU Library General Public
19
* License along with this library; if not, write to the
20
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
* Boston, MA 02111-1307, USA.
23
* Authors: Federico Mena <federico@nuclecu.unam.mx>
24
* Cosimo Cecchi <cosimoc@redhat.com>
27
#ifndef __NAUTILUS_SELECTION_CANVAS_ITEM_H__
28
#define __NAUTILUS_SELECTION_CANVAS_ITEM_H__
30
#include <eel/eel-canvas.h>
34
#define NAUTILUS_TYPE_SELECTION_CANVAS_ITEM nautilus_selection_canvas_item_get_type()
35
#define NAUTILUS_SELECTION_CANVAS_ITEM(obj) \
36
(G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_SELECTION_CANVAS_ITEM, NautilusSelectionCanvasItem))
37
#define NAUTILUS_SELECTION_CANVAS_ITEM_CLASS(klass) \
38
(G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SELECTION_CANVAS_ITEM, NautilusSelectionCanvasItemClass))
39
#define NAUTILUS_IS_SELECTION_CANVAS_ITEM(obj) \
40
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_SELECTION_CANVAS_ITEM))
41
#define NAUTILUS_IS_SELECTION_CANVAS_ITEM_CLASS(klass) \
42
(G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SELECTION_CANVAS_ITEM))
43
#define NAUTILUS_SELECTION_CANVAS_ITEM_GET_CLASS(obj) \
44
(G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_SELECTION_CANVAS_ITEM, NautilusSelectionCanvasItemClass))
46
typedef struct _NautilusSelectionCanvasItem NautilusSelectionCanvasItem;
47
typedef struct _NautilusSelectionCanvasItemClass NautilusSelectionCanvasItemClass;
48
typedef struct _NautilusSelectionCanvasItemDetails NautilusSelectionCanvasItemDetails;
50
struct _NautilusSelectionCanvasItem {
52
NautilusSelectionCanvasItemDetails *priv;
56
struct _NautilusSelectionCanvasItemClass {
57
EelCanvasItemClass parent_class;
61
GType nautilus_selection_canvas_item_get_type (void);
63
void nautilus_selection_canvas_item_fade_out (NautilusSelectionCanvasItem *self,
64
guint transition_time);
68
#endif /* __NAUTILUS_SELECTION_CANVAS_ITEM_H__ */