BC_Tumbler Class Reference

#include <bctumble.h>

Inherits BC_SubWindow.

Inherited by AutoZoom, BC_FTumbler, BC_ITumbler, CaptureLengthTumbler, ChannelEditEditSourceTumbler, ChannelTumbler, DayTumbler, NewAChannelsTumbler, NewATracksTumbler, NewVChannelsTumbler, NewVTracksTumbler, TitleFontTumble, and ZoomTumbler.

Collaboration diagram for BC_Tumbler:

Collaboration graph
[legend]

Public Member Functions

 BC_Tumbler (int x, int y, VFrame **data=0)
virtual ~BC_Tumbler ()
virtual int handle_up_event ()
virtual int handle_down_event ()
int repeat_event (int64_t repeat_id)
int initialize ()
int set_images (VFrame **data)
int cursor_enter_event ()
int cursor_leave_event ()
int button_press_event ()
int button_release_event ()
int cursor_motion_event ()
int update_bitmaps (VFrame **data)
int reposition_window (int x, int y, int w=-1, int h=-1)
virtual void set_boundaries (int64_t min, int64_t max)
virtual void set_boundaries (float min, float max)
virtual void set_increment (float value)
virtual void set_log_floatincrement (int value)

Private Member Functions

int draw_face ()

Private Attributes

BC_Pixmapimages [4]
int status
int64_t repeat_count
VFrame ** data

Detailed Description

Definition at line 6 of file bctumble.h.


Constructor & Destructor Documentation

BC_Tumbler::BC_Tumbler ( int  x,
int  y,
VFrame **  data = 0 
)

Definition at line 14 of file bctumble.C.

References images, repeat_count, status, TOTAL_STATES, and TUMBLE_UP.

BC_Tumbler::~BC_Tumbler (  )  [virtual]

Definition at line 25 of file bctumble.C.

References images, and TOTAL_STATES.


Member Function Documentation

virtual int BC_Tumbler::handle_up_event (  )  [inline, virtual]

virtual int BC_Tumbler::handle_down_event (  )  [inline, virtual]

int BC_Tumbler::repeat_event ( int64_t  repeat_id  )  [virtual]

int BC_Tumbler::initialize (  )  [virtual]

Reimplemented from BC_SubWindow.

Definition at line 33 of file bctumble.C.

References data, draw_face(), BC_Pixmap::get_h(), BC_WindowBase::get_resources(), BC_Pixmap::get_w(), BC_WindowBase::h, images, BC_SubWindow::initialize(), set_images(), TUMBLE_UP, and BC_WindowBase::w.

Here is the call graph for this function:

int BC_Tumbler::set_images ( VFrame **  data  ) 

Definition at line 70 of file bctumble.C.

References BC_WindowBase::BC_Pixmap, images, BC_WindowBase::parent_window, and TOTAL_STATES.

Referenced by initialize(), and update_bitmaps().

int BC_Tumbler::cursor_enter_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 130 of file bctumble.C.

References BC_WindowBase::button_down, draw_face(), BC_WindowBase::event_win, status, BC_WindowBase::tooltip_done, BC_WindowBase::top_level, TUMBLE_UP, TUMBLE_UPHI, and BC_WindowBase::win.

Here is the call graph for this function:

int BC_Tumbler::cursor_leave_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 144 of file bctumble.C.

References draw_face(), BC_WindowBase::hide_tooltip(), status, TUMBLE_UP, and TUMBLE_UPHI.

Here is the call graph for this function:

int BC_Tumbler::button_press_event (  )  [virtual]

int BC_Tumbler::button_release_event (  )  [virtual]

int BC_Tumbler::cursor_motion_event (  )  [virtual]

int BC_Tumbler::update_bitmaps ( VFrame **  data  ) 

Definition at line 62 of file bctumble.C.

References draw_face(), BC_WindowBase::draw_top_background(), BC_WindowBase::h, BC_WindowBase::parent_window, set_images(), and BC_WindowBase::w.

Here is the call graph for this function:

int BC_Tumbler::reposition_window ( int  x,
int  y,
int  w = -1,
int  h = -1 
)

virtual void BC_Tumbler::set_boundaries ( int64_t  min,
int64_t  max 
) [inline, virtual]

Reimplemented in BC_ITumbler.

Definition at line 25 of file bctumble.h.

Referenced by BC_TumbleTextBox::set_boundaries().

virtual void BC_Tumbler::set_boundaries ( float  min,
float  max 
) [inline, virtual]

Reimplemented in BC_FTumbler.

Definition at line 26 of file bctumble.h.

virtual void BC_Tumbler::set_increment ( float  value  )  [inline, virtual]

Reimplemented in BC_ITumbler, and BC_FTumbler.

Definition at line 27 of file bctumble.h.

Referenced by BC_TumbleTextBox::create_objects(), and BC_TumbleTextBox::set_increment().

virtual void BC_Tumbler::set_log_floatincrement ( int  value  )  [inline, virtual]

Reimplemented in BC_FTumbler.

Definition at line 28 of file bctumble.h.

Referenced by BC_TumbleTextBox::create_objects(), and BC_TumbleTextBox::set_log_floatincrement().

int BC_Tumbler::draw_face (  )  [private]


Field Documentation

Definition at line 33 of file bctumble.h.

Referenced by BC_Tumbler(), draw_face(), initialize(), set_images(), and ~BC_Tumbler().

int BC_Tumbler::status [private]

int64_t BC_Tumbler::repeat_count [private]

Definition at line 35 of file bctumble.h.

Referenced by BC_Tumbler(), button_press_event(), and repeat_event().

VFrame** BC_Tumbler::data [private]

Definition at line 36 of file bctumble.h.

Referenced by initialize().


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

Generated on Mon Apr 28 14:16:03 2008 for Cinelerra by  doxygen 1.5.5