
Public Member Functions | |
| MediaControlView (intf_thread_t *p_intf, BRect frame) | |
| virtual | ~MediaControlView () |
| virtual void | AttachedToWindow () |
| virtual void | FrameResized (float width, float height) |
| virtual void | GetPreferredSize (float *width, float *height) |
| virtual void | MessageReceived (BMessage *message) |
| virtual void | Pulse () |
| void | SetProgress (float position) |
| void | SetStatus (int status, int rate) |
| void | SetEnabled (bool enable) |
| void | SetAudioEnabled (bool enable) |
| uint32 | GetVolume () const |
| void | SetSkippable (bool backward, bool forward) |
| void | SetMuted (bool mute) |
| MediaControlView::MediaControlView | ( | intf_thread_t * | p_intf, | |
| BRect | frame | |||
| ) |
References AOUT_VOLUME_MAX, config_GetInt, kDisabledForwardBitmapBits, kDisabledPlayButtonBitmapBits, kDisabledRewindBitmapBits, kDisabledSkipBackBitmapBits, kDisabledSkipForwardBitmapBits, kDisabledStopButtonBitmapBits, kForwardBitmapBits, kPausedPlayButtonBitmapBits, kPlayButtonBitmapBits, kPlayButtonSize(), kPlayingPlayButtonBitmapBits, kPlayPauseBitmapHeight, kPressedForwardBitmapBits, kPressedPausedPlayButtonBitmapBits, kPressedPlayButtonBitmapBits, kPressedPlayingPlayButtonBitmapBits, kPressedRewindBitmapBits, kPressedSkipBackBitmapBits, kPressedSkipForwardBitmapBits, kPressedSpeakerIconBits, kPressedStopButtonBitmapBits, kRewindBitmapBits, kRewindBitmapHeight, kSkipBackBitmapBits, kSkipButtonSize(), kSkipForwardBitmapBits, kSpeakerButtonSize(), kSpeakerIconBitmapHeight, kSpeakerIconBits, kStopBitmapHeight, kStopButtonBitmapBits, kStopButtonSize(), kVolumeSliderBitmapHeight, MSG_FORWARD, MSG_REWIND, MSG_SKIP_BACKWARDS, MSG_SKIP_FORWARD, PositionInfoView::ResizeToPreferred(), SeekSlider::ResizeToPreferred(), VolumeSlider::SetValue(), START_PLAYBACK, STOP_PLAYBACK, VOLUME_CHG, VOLUME_MIN_WIDTH, and VOLUME_MUTE.
| MediaControlView::~MediaControlView | ( | ) | [virtual] |
| void MediaControlView::AttachedToWindow | ( | void | ) | [virtual] |
References FrameResized().
| void MediaControlView::FrameResized | ( | float | width, | |
| float | height | |||
| ) | [virtual] |
| void MediaControlView::GetPreferredSize | ( | float * | width, | |
| float * | height | |||
| ) | [virtual] |
Referenced by InterfaceWindow::InterfaceWindow().
| void MediaControlView::MessageReceived | ( | BMessage * | message | ) | [virtual] |
References MSG_FORWARD, MSG_REWIND, MSG_SKIP_BACKWARDS, MSG_SKIP_FORWARD, NAVIGATE_NEXT, and NAVIGATE_PREV.
| void MediaControlView::Pulse | ( | ) | [virtual] |
| void MediaControlView::SetProgress | ( | float | position | ) |
| void MediaControlView::SetStatus | ( | int | status, | |
| int | rate | |||
| ) |
| void MediaControlView::SetEnabled | ( | bool | enable | ) |
References VolumeSlider::SetEnabled(), and TransportButton::SetEnabled().
Referenced by InterfaceWindow::InterfaceWindow(), and InterfaceWindow::UpdateInterface().
| void MediaControlView::SetAudioEnabled | ( | bool | enable | ) |
References VolumeSlider::SetEnabled(), and TransportButton::SetEnabled().
Referenced by InterfaceWindow::UpdateInterface().
| uint32 MediaControlView::GetVolume | ( | ) | const |
Referenced by InterfaceWindow::MessageReceived().
| void MediaControlView::SetSkippable | ( | bool | backward, | |
| bool | forward | |||
| ) |
| void MediaControlView::SetMuted | ( | bool | mute | ) |
1.5.6