diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-06 17:30:26 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-06 17:30:26 +0200 |
commit | f72c61e0a3afc364ab6f60e42f2d7e0ff5574a3c (patch) | |
tree | 8bc2ff56000ff611a23489255e6b16e4eb05b38d /lib/gtk-vlc-player/gtk-vlc-player.h | |
parent | 3874830ea6c953fc29ef6286c1808b0e29b552aa (diff) | |
download | experiment-player-f72c61e0a3afc364ab6f60e42f2d7e0ff5574a3c.tar.gz |
adjustment support for the gtk-vlc-player plugin
gtk-vlc-player may be connected to scale widgets (and later on the transcript widget) using GtkAdjustments
* the main program has been updated accordingly
* the main program also updates the "play" button now
Diffstat (limited to 'lib/gtk-vlc-player/gtk-vlc-player.h')
-rw-r--r-- | lib/gtk-vlc-player/gtk-vlc-player.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gtk-vlc-player/gtk-vlc-player.h b/lib/gtk-vlc-player/gtk-vlc-player.h index 1cef88b..54d36a1 100644 --- a/lib/gtk-vlc-player/gtk-vlc-player.h +++ b/lib/gtk-vlc-player/gtk-vlc-player.h @@ -24,6 +24,9 @@ G_BEGIN_DECLS typedef struct _GtkVlcPlayer { GtkAlignment parent_instance; + GtkObject *time_adjustment; + gulong time_adj_on_value_changed_id; + libvlc_instance_t *vlc_inst; libvlc_media_player_t *media_player; @@ -53,6 +56,8 @@ void gtk_vlc_player_stop(GtkVlcPlayer *player); void gtk_vlc_player_seek(GtkVlcPlayer *player, gint64 time); +GtkAdjustment *gtk_vlc_player_get_time_adjustment(GtkVlcPlayer *player); +void gtk_vlc_player_set_time_adjustment(GtkVlcPlayer *player, GtkAdjustment *adj); G_END_DECLS |