Code

tpdfview.git
12 years agogtk-tpdfv: Added gtk_tpdfv_goto_page().
Sebastian Harl [Fri, 23 Dec 2011 17:51:06 +0000 (18:51 +0100)]
gtk-tpdfv: Added gtk_tpdfv_goto_page().

12 years agogtk-tpdfv: Added _get_n_pages() and _get_current_page().
Sebastian Harl [Fri, 23 Dec 2011 17:48:33 +0000 (18:48 +0100)]
gtk-tpdfv: Added _get_n_pages() and _get_current_page().

12 years agogtk-tpdfv-screen, tpdfview: Implemented "move window to next screen".
Sebastian Harl [Thu, 22 Dec 2011 23:00:27 +0000 (00:00 +0100)]
gtk-tpdfv-screen, tpdfview: Implemented "move window to next screen".

This is done by pressing the 'M' (move) key.

For this purpose, the functions gtk_tpdfv_screens_window_set() and
gtk_tpdfv_screens_window_get() have been added, querying the list of screens
for the right settings.

12 years agogtk-tpdfv-screen: Added module to abstract access to different screens.
Sebastian Harl [Thu, 22 Dec 2011 22:17:22 +0000 (23:17 +0100)]
gtk-tpdfv-screen: Added module to abstract access to different screens.

For now, it provides a function to determine a list of all screens
(independent of actual GdkScreen and monitor number).

12 years agotpdfview: Let 'F' toggle fullscreen mode.
Sebastian Harl [Thu, 8 Dec 2011 07:10:58 +0000 (08:10 +0100)]
tpdfview: Let 'F' toggle fullscreen mode.

13 years agogtk-tpdfv: Create an empty white page to draw the PDF page on.
Sebastian Harl [Tue, 6 Dec 2011 20:19:58 +0000 (21:19 +0100)]
gtk-tpdfv: Create an empty white page to draw the PDF page on.

13 years agogtk-tpdfv: Auto-reload the PDF on expose if the file has changed.
Sebastian Harl [Fri, 11 Nov 2011 13:17:30 +0000 (14:17 +0100)]
gtk-tpdfv: Auto-reload the PDF on expose if the file has changed.

13 years agogtk-tpdfv/tpdfview: Added a possibility to reload the PDF file.
Sebastian Harl [Thu, 10 Nov 2011 14:34:28 +0000 (15:34 +0100)]
gtk-tpdfv/tpdfview: Added a possibility to reload the PDF file.

 - In the widget, this is available as 'gtk_tpdfv_reload()' which closes and
   reopens the PDF file; updating internal settings accordingly.

 - In the GUI, this may be triggered by pressing the 'r' key.

13 years agotpdftoc: Added a simple tool to display a PDF's TOC.
Sebastian Harl [Thu, 10 Nov 2011 13:38:36 +0000 (14:38 +0100)]
tpdftoc: Added a simple tool to display a PDF's TOC.

For now, a simple ASCII output is supported only.

13 years agotpdfview: Set window title to 'tpdfview: <filename>'.
Sebastian Harl [Fri, 21 Oct 2011 13:07:45 +0000 (15:07 +0200)]
tpdfview: Set window title to 'tpdfview: <filename>'.

… applying basename() to the filename specified on the command-line.

13 years agogtk-tpdfv: Center PDF page vertically and horizontally.
Sebastian Harl [Fri, 21 Oct 2011 13:02:25 +0000 (15:02 +0200)]
gtk-tpdfv: Center PDF page vertically and horizontally.

13 years agogtk-tpdfv/tpdfview: Implemented 'width', 'height', 'fit' zoom modes.
Sebastian Harl [Fri, 21 Oct 2011 12:42:59 +0000 (14:42 +0200)]
gtk-tpdfv/tpdfview: Implemented 'width', 'height', 'fit' zoom modes.

Currently, when leaving those modes, the zoom will be reset to the value
before entering any of those modes. This is done on purpose ;-)

13 years agotpdfview: Changed background color to black.
Sebastian Harl [Fri, 21 Oct 2011 05:14:57 +0000 (07:14 +0200)]
tpdfview: Changed background color to black.

13 years agoREADME: Updated prerequisites.
Sebastian Harl [Thu, 20 Oct 2011 17:44:44 +0000 (19:44 +0200)]
README: Updated prerequisites.

13 years agogtk-tpdfv: Added Gtk widget taking care of displaying the PDF file.
Sebastian Harl [Thu, 20 Oct 2011 16:47:52 +0000 (18:47 +0200)]
gtk-tpdfv: Added Gtk widget taking care of displaying the PDF file.

This makes much more flexible setups possible, including displaying more than
one file/page at the same time and making use of Gtk's layout features.

13 years agoInitial import of the tiny PDF viewer. tpdfview-0.0.0
Sebastian Harl [Thu, 20 Oct 2011 14:51:57 +0000 (16:51 +0200)]
Initial import of the tiny PDF viewer.