From 67b0883a92607d52ece6ab7e8f8869e7f55bab29 Mon Sep 17 00:00:00 2001 From: Laurent Napias Date: Sat, 29 Jun 2019 22:28:21 +0200 Subject: Add scroll interface tabs with mouse wheel in preferences and gpm-statistics (mouse-battery) --- src/gpm-common.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'src/gpm-common.h') diff --git a/src/gpm-common.h b/src/gpm-common.h index e9f0ac9..8aeedbc 100644 --- a/src/gpm-common.h +++ b/src/gpm-common.h @@ -23,6 +23,7 @@ #define __GPMCOMMON_H #include +#include #include @@ -154,14 +155,17 @@ typedef enum { GPM_ACTION_POLICY_NOTHING } GpmActionPolicy; -gchar *gpm_get_timestring (guint time); -guint gpm_discrete_from_percent (guint percentage, - guint levels); -guint gpm_discrete_to_percent (guint discrete, - guint levels); -void gpm_help_display (const gchar *link_id); +gchar *gpm_get_timestring (guint time); +guint gpm_discrete_from_percent (guint percentage, + guint levels); +guint gpm_discrete_to_percent (guint discrete, + guint levels); +void gpm_help_display (const gchar *link_id); +gboolean gpm_dialog_page_scroll_event_cb (GtkWidget *widget, + GdkEventScroll *event, + GtkWindow *window); #ifdef EGG_TEST -void gpm_common_test (gpointer data); +void gpm_common_test (gpointer data); #endif G_END_DECLS -- cgit v1.2.1