studio::Widget_Timeslider Class Reference

#include <widget_timeslider.h>

Inheritance diagram for studio::Widget_Timeslider:

studio::Widget_Sound

List of all members.

Public Member Functions

 Widget_Timeslider ()
 ~Widget_Timeslider ()
void draw ()
virtual void refresh ()
double get_global_fps () const
void set_global_fps (float d)
Gtk::Adjustment & get_time_adjustment () const
void set_time_adjustment (Gtk::Adjustment *x)
Gtk::Adjustment & get_bounds_adjustment () const
void set_bounds_adjustment (Gtk::Adjustment *x)

Protected Member Functions

virtual bool on_motion_notify_event (GdkEventMotion *event)
virtual bool on_scroll_event (GdkEventScroll *event)
virtual bool on_button_press_event (GdkEventButton *event)
virtual bool on_button_release_event (GdkEventButton *event)
virtual bool on_expose_event (GdkEventExpose *)
virtual bool redraw (bool doublebuffer=false)
void zoom_in (bool centerontime=false)
void zoom_out (bool centerontime=false)

Protected Attributes

Glib::RefPtr< Pango::Layout > layout
Gtk::Adjustment adj_default
Gtk::Adjustment * adj_timescale
Gtk::Adjustment * adj_bounds
double time_per_tickmark
guint32 last_event_time
float fps
sigc::connection time_value_change
sigc::connection time_other_change
bool dragscroll
double lastx


Constructor & Destructor Documentation

Widget_Timeslider::Widget_Timeslider (  ) 

Widget_Timeslider::~Widget_Timeslider (  ) 


Member Function Documentation

bool Widget_Timeslider::on_motion_notify_event ( GdkEventMotion *  event  )  [protected, virtual]

bool Widget_Timeslider::on_scroll_event ( GdkEventScroll *  event  )  [protected, virtual]

bool Widget_Timeslider::on_button_press_event ( GdkEventButton *  event  )  [protected, virtual]

References adj_timescale, dragscroll, fps, and lastx.

bool Widget_Timeslider::on_button_release_event ( GdkEventButton *  event  )  [protected, virtual]

References dragscroll.

virtual bool studio::Widget_Timeslider::on_expose_event ( GdkEventExpose *   )  [inline, protected, virtual]

References redraw().

bool Widget_Timeslider::redraw ( bool  doublebuffer = false  )  [protected, virtual]

void Widget_Timeslider::zoom_in ( bool  centerontime = false  )  [protected]

References adj_bounds, adj_timescale, and zoominfactor.

Referenced by on_scroll_event().

void Widget_Timeslider::zoom_out ( bool  centerontime = false  )  [protected]

References adj_bounds, adj_timescale, and zoomoutfactor.

Referenced by on_scroll_event().

void studio::Widget_Timeslider::draw (  )  [inline]

Reimplemented in studio::Widget_Sound.

References redraw().

void Widget_Timeslider::refresh (  )  [virtual]

double studio::Widget_Timeslider::get_global_fps (  )  const [inline]

References fps.

Referenced by redraw().

void Widget_Timeslider::set_global_fps ( float  d  ) 

Gtk::Adjustment& studio::Widget_Timeslider::get_time_adjustment (  )  const [inline]

References adj_timescale.

void Widget_Timeslider::set_time_adjustment ( Gtk::Adjustment *  x  ) 

Gtk::Adjustment& studio::Widget_Timeslider::get_bounds_adjustment (  )  const [inline]

References adj_bounds.

void studio::Widget_Timeslider::set_bounds_adjustment ( Gtk::Adjustment *  x  )  [inline]


Member Data Documentation

Glib::RefPtr<Pango::Layout> studio::Widget_Timeslider::layout [protected]

Referenced by redraw().

Gtk::Adjustment studio::Widget_Timeslider::adj_default [protected]

Referenced by Widget_Timeslider().

Gtk::Adjustment* studio::Widget_Timeslider::adj_timescale [protected]

Gtk::Adjustment* studio::Widget_Timeslider::adj_bounds [protected]

Referenced by on_scroll_event(), and redraw().

Referenced by on_motion_notify_event().

float studio::Widget_Timeslider::fps [protected]

sigc::connection studio::Widget_Timeslider::time_value_change [protected]

Referenced by set_time_adjustment().

sigc::connection studio::Widget_Timeslider::time_other_change [protected]

Referenced by set_time_adjustment().


The documentation for this class was generated from the following files:

Generated on Fri Jul 31 00:03:28 2009 for synfig-studio by  doxygen 1.5.6