From c3e1500a4815225f08e1b20dd066559e8c92c280 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Thu, 07 Apr 2005 15:28:06 +0000 Subject: Recent files support. 2005-04-07 Nickolay V. Shmyrev * cut-n-paste/recent-files/Makefile.am: * data/evince-ui.xml, shell/Makefile.am: * shell/ev-application.c, shell/ev-application.h: * shell/ev-window.c: Recent files support. * configure.ac: Added "ru" to ALL_LINGUAS. * dvju: new backend to support DJVU files. * dvi: new backend to support DVI. * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c: * ev-application.c: Support for new backends. * help, ev-window.c, main.c shell/Makefile.am: --- (limited to 'dvi/view.hh') diff --git a/dvi/view.hh b/dvi/view.hh deleted file mode 100755 index bdab6df..0000000 --- a/dvi/view.hh +++ /dev/null @@ -1,37 +0,0 @@ -// notes: -/* - * hold en gdkpixbuf ved lige, og tegn den på en gtkdrawingarea - * ved passende lejligheder - */ - -#include "model.hh" -#include -#include "painter.hh" - -enum { - BASE_DPI = 300, - PAPER_WIDTH = 7, // inches - PAPER_HEIGHT = 17 // inches -}; - -class View : public Observer { -private: - Model *model; - GtkWidget *drawing_area; - GdkPixmap *pixmap; -public: - View (Model *model_arg); - - GtkWidget *get_widget (void) { return drawing_area; } - - void create_pixmap (void); - void expose (GdkEventExpose *event); - void notify (void) const; - void redraw (void) const; -}; - -void on_da_realize (GtkDrawingArea *da, - View *v); -int on_da_expose (GtkWidget *widget, - GdkEventExpose *event, - View *v); -- cgit v0.9.1