aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-12-08 01:54:57 +0800
committerChristian Persch <chpe@src.gnome.org>2005-12-08 01:54:57 +0800
commitc92bf4456143bc5e230bd0153d4bc938b68fddfc (patch)
tree83b5d68baf5fa04b78b2eb2f1df33562091be071 /embed/ephy-embed.h
parent89e2f69727a24f8667b1daf2341bae55b0567d10 (diff)
downloadgsoc2013-epiphany-c92bf4456143bc5e230bd0153d4bc938b68fddfc.tar
gsoc2013-epiphany-c92bf4456143bc5e230bd0153d4bc938b68fddfc.tar.gz
gsoc2013-epiphany-c92bf4456143bc5e230bd0153d4bc938b68fddfc.tar.bz2
gsoc2013-epiphany-c92bf4456143bc5e230bd0153d4bc938b68fddfc.tar.lz
gsoc2013-epiphany-c92bf4456143bc5e230bd0153d4bc938b68fddfc.tar.xz
gsoc2013-epiphany-c92bf4456143bc5e230bd0153d4bc938b68fddfc.tar.zst
gsoc2013-epiphany-c92bf4456143bc5e230bd0153d4bc938b68fddfc.zip
Add ephy_embed_scroll_pixels.
2005-12-07 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll), (ephy_embed_scroll_pixels): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add ephy_embed_scroll_pixels.
Diffstat (limited to 'embed/ephy-embed.h')
-rw-r--r--embed/ephy-embed.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index 6f1787222..6190c14b4 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -192,8 +192,13 @@ struct _EphyEmbedIface
void (* set_zoom) (EphyEmbed *embed,
float zoom);
float (* get_zoom) (EphyEmbed *embed);
- void (* scroll) (EphyEmbed *embed, int num_lines);
- void (* page_scroll) (EphyEmbed *embed, int num_pages);
+ void (* scroll_lines) (EphyEmbed *embed,
+ int num_lines);
+ void (* scroll_pages) (EphyEmbed *embed,
+ int num_pages);
+ void (* scroll_pixels) (EphyEmbed *embed,
+ int dx,
+ int dy);
char * (* get_encoding) (EphyEmbed *embed);
gboolean (* has_automatic_encoding) (EphyEmbed *embed);
void (* set_encoding) (EphyEmbed *embed,
@@ -292,6 +297,10 @@ void ephy_embed_scroll (EphyEmbed *embed,
void ephy_embed_page_scroll (EphyEmbed *embed,
int num_pages);
+
+void ephy_embed_scroll_pixels (EphyEmbed *embed,
+ int dx,
+ int dy);
/* Encoding */
char *ephy_embed_get_encoding (EphyEmbed *embed);