diff options
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/inc/strings.hrc | 2 | ||||
-rw-r--r-- | avmedia/source/framework/MediaControlBase.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/avmedia/inc/strings.hrc b/avmedia/inc/strings.hrc index b4e260ad4363..78c39db02682 100644 --- a/avmedia/inc/strings.hrc +++ b/avmedia/inc/strings.hrc @@ -34,6 +34,8 @@ #define AVMEDIA_STR_ZOOM_100 NC_("AVMEDIA_STR_ZOOM_100", "100%") #define AVMEDIA_STR_ZOOM_200 NC_("AVMEDIA_STR_ZOOM_200", "200%") #define AVMEDIA_STR_ZOOM_FIT NC_("AVMEDIA_STR_ZOOM_FIT", "Scaled") +#define AVMEDIA_STR_VOLUME NC_("AVMEDIA_STR_VOLUME", "Volume") +#define AVMEDIA_STR_POSITION NC_("AVMEDIA_STR_POSITION", "Position") #define AVMEDIA_STR_MEDIAPLAYER NC_("AVMEDIA_STR_MEDIAPLAYER", "Media Player") #define AVMEDIA_MEDIA_PATH NC_("AVMEDIA_MEDIA_PATH", "Media Path") #define AVMEDIA_MEDIA_PATH_DEFAULT NC_("AVMEDIA_MEDIA_PATH_DEFAULT", "No Media Selected") diff --git a/avmedia/source/framework/MediaControlBase.cxx b/avmedia/source/framework/MediaControlBase.cxx index 9b844907cbec..22d2b8896d3b 100644 --- a/avmedia/source/framework/MediaControlBase.cxx +++ b/avmedia/source/framework/MediaControlBase.cxx @@ -129,10 +129,12 @@ void MediaControlBase::InitializeWidgets() mpVolumeSlider->SetRange( Range( AVMEDIA_DB_RANGE, 0 ) ); mpVolumeSlider->SetUpdateMode( true ); + mpVolumeSlider->SetQuickHelpText( AvmResId( AVMEDIA_STR_VOLUME )); mpVolumeSlider->SetHelpId( HID_AVMEDIA_VOLUMESLIDER ); mpTimeSlider->SetRange( Range( 0, AVMEDIA_TIME_RANGE ) ); mpTimeSlider->SetUpdateMode( true ); + mpTimeSlider->SetQuickHelpText( AvmResId( AVMEDIA_STR_POSITION )); mpTimeSlider->SetStyle(WB_HORZ | WB_DRAG | WB_3DLOOK); mpTimeSlider->SetScrollTypeSet(true); } |