~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to src/thumbview/eog-thumb-nav.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-07-17 21:04:16 UTC
  • mfrom: (15.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110717210416-nt5qi659qei7a2yy
Tags: 3.0.1-2
* debian/control.in:
  - Change gir1.2-cheese-3.0 Section to libs
  - Make library packages depend against cheese-common package
  - Make cheese package recommends against hicolor-icon-theme
  - Move gst Dependency to libcheese package
* debian/patches/0002-fix-linking.patch: Add missing library to fix linking
* debian/watch:
  - Switch to .bz2 tarballs.
  - Bump version to 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Eye Of Gnome - Thumbnail Navigator
 
2
 *
 
3
 * Copyright (C) 2006 The Free Software Foundation
 
4
 *
 
5
 * Author: Lucas Rocha <lucasr@gnome.org>
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or modify
 
8
 * it under the terms of the GNU General Public License as published by
 
9
 * the Free Software Foundation; either version 2 of the License, or
 
10
 * (at your option) any later version.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with this program; if not, write to the Free Software
 
19
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef __EOG_THUMB_NAV_H__
 
23
#define __EOG_THUMB_NAV_H__
 
24
 
 
25
#include "cheese-thumb-view.h"
 
26
 
 
27
#include <gtk/gtk.h>
 
28
#include <glib.h>
 
29
#include <glib-object.h>
 
30
 
 
31
G_BEGIN_DECLS
 
32
 
 
33
typedef struct _EogThumbNav EogThumbNav;
 
34
typedef struct _EogThumbNavClass EogThumbNavClass;
 
35
typedef struct _EogThumbNavPrivate EogThumbNavPrivate;
 
36
 
 
37
#define EOG_TYPE_THUMB_NAV (eog_thumb_nav_get_type ())
 
38
#define EOG_THUMB_NAV(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), EOG_TYPE_THUMB_NAV, EogThumbNav))
 
39
#define EOG_THUMB_NAV_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EOG_TYPE_THUMB_NAV, EogThumbNavClass))
 
40
#define EOG_IS_THUMB_NAV(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EOG_TYPE_THUMB_NAV))
 
41
#define EOG_IS_THUMB_NAV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EOG_TYPE_THUMB_NAV))
 
42
#define EOG_THUMB_NAV_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), EOG_TYPE_THUMB_NAV, EogThumbNavClass))
 
43
 
 
44
struct _EogThumbNav
 
45
{
 
46
  GtkHBox base_instance;
 
47
 
 
48
  EogThumbNavPrivate *priv;
 
49
};
 
50
 
 
51
struct _EogThumbNavClass
 
52
{
 
53
  GtkHBoxClass parent_class;
 
54
};
 
55
 
 
56
GType eog_thumb_nav_get_type (void) G_GNUC_CONST;
 
57
 
 
58
GtkWidget *eog_thumb_nav_new (GtkWidget *thumbview,
 
59
                              gboolean   show_buttons);
 
60
 
 
61
gboolean eog_thumb_nav_get_show_buttons (EogThumbNav *nav);
 
62
 
 
63
void eog_thumb_nav_set_show_buttons (EogThumbNav *nav,
 
64
                                     gboolean     show_buttons);
 
65
 
 
66
gboolean eog_thumb_nav_is_vertical (EogThumbNav *nav);
 
67
 
 
68
void eog_thumb_nav_set_vertical (EogThumbNav *nav,
 
69
                                 gboolean     vertical);
 
70
 
 
71
void eog_thumb_nav_set_policy (EogThumbNav  *nav,
 
72
                               GtkPolicyType hscrollbar_policy,
 
73
                               GtkPolicyType vscrollbar_policy);
 
74
 
 
75
G_END_DECLS
 
76
 
 
77
#endif /* __EOG_THUMB_NAV_H__ */