2006-10-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
[hildon] / hildon-widgets / hildon-volumebar-private.h
index 04e6c3f..d93700f 100644 (file)
@@ -1,14 +1,14 @@
 /*
  * This file is part of hildon-libs
  *
- * Copyright (C) 2005 Nokia Corporation.
+ * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
  *
- * Contact: Luc Pionchon <luc.pionchon@nokia.com>
+ * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
+ * as published by the Free Software Foundation; version 2.1 of
+ * the License.
  *
  * This library is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -24,6 +24,9 @@
 #ifndef __HILDON_VOLUMEBAR_PRIVATE__
 #define __HILDON_VOLUMEBAR_PRIVATE__
 
+#include <gtk/gtktogglebutton.h>
+#include <hildon-widgets/hildon-volumebar-range.h>
+
 G_BEGIN_DECLS
 #define HILDON_VOLUMEBAR_GET_PRIVATE(obj) \
         (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
@@ -33,12 +36,12 @@ typedef struct _HildonVolumebarPrivate HildonVolumebarPrivate;
 
 struct _HildonVolumebarPrivate {
   HildonVolumebarRange *volumebar;
-
-  GtkOrientation orientation;
-  GtkToggleButton *tbutton;
-
-  gboolean is_toolbar;/* Is inside toolbar (for horizontal volumebar) */
+  GtkToggleButton      *tbutton;
+  gboolean              is_toolbar; /* is inside toolbar (for horizontal volumebar) */
+  GdkWindow            *event_window; /* input-only window to catch insensitive presses */
 };
 
+void _hildon_volumebar_mute_toggled(HildonVolumebar * self);
+
 G_END_DECLS
 #endif /* __HILDON_VOLUMEBAR_PRIVATE__ */