summaryrefslogtreecommitdiff
path: root/src/GsWidget.H
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-01-27 20:07:09 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-01-27 20:07:09 +0000
commite9defef906d2c31a1d03615a1a2ed31a89a81dc5 (patch)
treed7b6c03722af22614693ff04f66751213cfc82ea /src/GsWidget.H
parent37a96e693506ff169d6702d384405597f3ff54e1 (diff)
implement zoom
implement zoom
Diffstat (limited to 'src/GsWidget.H')
-rw-r--r--src/GsWidget.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/GsWidget.H b/src/GsWidget.H
index 8760213..99ef08a 100644
--- a/src/GsWidget.H
+++ b/src/GsWidget.H
@@ -1,5 +1,5 @@
//
-// "$Id: GsWidget.H,v 1.3 2004/11/10 18:49:08 hofmann Exp $"
+// "$Id: GsWidget.H,v 1.4 2005/01/27 21:07:09 hofmann Exp $"
//
// X11 header file for the Fast Light Tool Kit (FLTK).
//
@@ -41,6 +41,8 @@ class GsWidget : public Fl_Widget {
pid_t gs_pid;
int display_x, display_y;
int in_fd, reload_needed;
+ int zoom_percent;
+ int initial_width, initial_height;
protected:
int page;
@@ -65,6 +67,8 @@ public:
int handleX11(int ev);
+ int zoom(int p);
+
int get_page();
private: