13
0
livetrax/libs/gtkmm2ext/gtkmm2ext/idle_adjustment.h
Taybin Rutkin d09f6b3016 Initial revision
git-svn-id: svn://localhost/trunk/ardour2@4 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-05-13 20:47:18 +00:00

27 lines
493 B
C++

#ifndef __gtkmm2ext_idle_adjustment_h__
#define __gtkmm2ext_idle_adjustment_h__
#include <sys/time.h>
#include <gtkmm/adjustment.h>
namespace Gtkmm2ext {
class IdleAdjustment : public sigc::trackable
{
public:
IdleAdjustment (Gtk::Adjustment& adj);
~IdleAdjustment ();
sigc::signal<void> value_changed;
private:
void underlying_adjustment_value_changed();
struct timeval last_vc;
gint timeout_handler();
bool timeout_queued;
};
}
#endif /* __gtkmm2ext_idle_adjustment_h__ */