~ubuntu-branches/debian/sid/simple-scan/sid

« back to all changes in this revision

Viewing changes to src/book-view.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-05-13 20:42:09 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100513204209-2qmuv8xu2b7ob9ou
Tags: 2.31.1-1
* New upstream release.
* All patches have been applied upstream.
* debian/source_simple-scan.py: Sync with Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#ifndef _BOOK_VIEW_H_
13
13
#define _BOOK_VIEW_H_
14
14
 
15
 
#include <glib-object.h>
16
15
#include <gtk/gtk.h>
17
16
#include <cairo.h>
18
17
#include "book.h"
27
26
 
28
27
typedef struct
29
28
{
30
 
    GObject          parent_instance;
 
29
    GtkVBox parent_instance;
31
30
    BookViewPrivate *priv;
32
31
} BookView;
33
32
 
34
33
typedef struct
35
34
{
36
 
    GObjectClass parent_class;
37
 
    
 
35
    GtkVBoxClass parent_class;
 
36
 
38
37
    void (*page_selected) (BookView *view, Page *page);
39
38
    void (*show_page) (BookView *view, Page *page);
 
39
    void (*show_menu) (BookView *view, Page *page);
40
40
} BookViewClass;
41
41
 
42
42
 
43
43
GType book_view_get_type (void);
44
44
 
45
 
BookView *book_view_new (void);
46
 
 
47
 
// FIXME: Book view should extend GtkVBox
48
 
void book_view_set_widgets (BookView *view, GtkWidget *box, GtkWidget *area, GtkWidget *scroll, GtkWidget *page_menu);
49
 
 
50
 
// FIXME: Should be part of book_view_new
51
 
void book_view_set_book (BookView *view, Book *book);
 
45
BookView *book_view_new (Book *book);
52
46
 
53
47
void book_view_redraw (BookView *view);
54
48