#include <bctumble.h>
Inherits BC_SubWindow.
Inherited by AutoZoom, BC_FTumbler, BC_ITumbler, CaptureLengthTumbler, ChannelEditEditSourceTumbler, ChannelTumbler, DayTumbler, NewAChannelsTumbler, NewATracksTumbler, NewVChannelsTumbler, NewVTracksTumbler, TitleFontTumble, and ZoomTumbler.

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_Pixmap * | images [4] |
| int | status |
| int64_t | repeat_count |
| VFrame ** | data |
Definition at line 6 of file bctumble.h.
| 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] |
| virtual int BC_Tumbler::handle_up_event | ( | ) | [inline, virtual] |
Reimplemented in ChannelEditEditSourceTumbler, ChannelTumbler, NewATracksTumbler, NewAChannelsTumbler, NewVTracksTumbler, NewVChannelsTumbler, CaptureLengthTumbler, DayTumbler, AutoZoom, ZoomTumbler, BC_ITumbler, BC_FTumbler, and TitleFontTumble.
Definition at line 12 of file bctumble.h.
Referenced by button_press_event(), BC_TumbleTextBoxText::button_press_event(), and repeat_event().
| virtual int BC_Tumbler::handle_down_event | ( | ) | [inline, virtual] |
Reimplemented in ChannelEditEditSourceTumbler, ChannelTumbler, NewATracksTumbler, NewAChannelsTumbler, NewVTracksTumbler, NewVChannelsTumbler, CaptureLengthTumbler, DayTumbler, AutoZoom, ZoomTumbler, BC_ITumbler, BC_FTumbler, and TitleFontTumble.
Definition at line 13 of file bctumble.h.
Referenced by button_press_event(), BC_TumbleTextBoxText::button_press_event(), and repeat_event().
| int BC_Tumbler::repeat_event | ( | int64_t | repeat_id | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 95 of file bctumble.C.
References BC_WindowBase::get_resources(), handle_down_event(), handle_up_event(), repeat_count, BC_WindowBase::show_tooltip(), status, BC_Resources::tooltip_delay, BC_WindowBase::tooltip_done, BC_WindowBase::tooltip_text, BC_WindowBase::top_level, BC_Resources::tumble_duration, TUMBLE_UPHI, TUMBLEBOTTOM_DN, and TUMBLETOP_DN.
Referenced by button_press_event().

| 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.

| 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.

| 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.

| int BC_Tumbler::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 155 of file bctumble.C.
References BC_WindowBase::cursor_y, draw_face(), BC_WindowBase::event_win, BC_WindowBase::flush(), BC_WindowBase::get_buttonpress(), BC_WindowBase::get_h(), BC_WindowBase::get_resources(), handle_down_event(), handle_up_event(), BC_WindowBase::hide_tooltip(), repeat_count, repeat_event(), BC_WindowBase::set_repeat(), status, BC_WindowBase::top_level, BC_Resources::tumble_duration, TUMBLEBOTTOM_DN, TUMBLETOP_DN, and BC_WindowBase::win.

| int BC_Tumbler::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 204 of file bctumble.C.
References BC_WindowBase::cursor_inside(), draw_face(), BC_WindowBase::event_win, BC_WindowBase::get_resources(), BC_WindowBase::hide_tooltip(), status, BC_WindowBase::top_level, BC_Resources::tumble_duration, TUMBLE_UP, TUMBLE_UPHI, TUMBLEBOTTOM_DN, TUMBLETOP_DN, BC_WindowBase::unset_repeat(), and BC_WindowBase::win.

| int BC_Tumbler::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 222 of file bctumble.C.
References BC_WindowBase::button_down, BC_WindowBase::cursor_inside(), draw_face(), BC_WindowBase::event_win, status, BC_WindowBase::top_level, TUMBLE_UP, TUMBLEBOTTOM_DN, TUMBLETOP_DN, and BC_WindowBase::win.

| 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.

| int BC_Tumbler::reposition_window | ( | int | x, | |
| int | y, | |||
| int | w = -1, |
|||
| int | h = -1 | |||
| ) |
Reimplemented from BC_WindowBase.
Definition at line 51 of file bctumble.C.
References draw_face(), and BC_WindowBase::reposition_window().
Referenced by ChannelPicker::reposition(), BC_TumbleTextBox::reposition_window(), ZoomPanel::reposition_window(), TimeEntry::reposition_window(), FormatTools::reposition_window(), and TitleWindow::resize_event().

| 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] |
| 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] |
Definition at line 81 of file bctumble.C.
References BC_Pixmap::draw_pixmap(), BC_WindowBase::draw_top_background(), BC_WindowBase::flash(), BC_WindowBase::h, images, BC_WindowBase::parent_window, BC_WindowBase::pixmap, status, and BC_WindowBase::w.
Referenced by button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), initialize(), reposition_window(), and update_bitmaps().

BC_Pixmap* BC_Tumbler::images[4] [private] |
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] |
Definition at line 34 of file bctumble.h.
Referenced by BC_Tumbler(), button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), draw_face(), and repeat_event().
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] |
1.5.5