Archive / / / / / TrackSlider.h
2008-10-06 13:32:58 UTC
previous next
/* Echo Media Player * Copyright (C) 2008 Shane O'Connell * * [ The original file includes a copyright header in this location describing * the file as being released under the terms of the GNU General Public * License. It has been removed in order to display the file as part of the * archive. ] */ #ifndef TRACKSLIDER_H_ #define TRACKSLIDER_H_ #include "../PlaySource.h" #include <gtkmm.h> class TrackSlider : public Gtk::VBox { public: TrackSlider(); private: Gtk::HScale m_scale; Gtk::Label m_label; sigc::connection m_timeout_connection; void on_track_started(PlaySourceRef playlist, int index, bool was_paused); void on_track_stopped(PlaySourceRef playlist, int index, bool is_paused); bool on_timeout(); }; #endif /* TRACKSLIDER_H_ */