Home
last modified time | relevance | path

Searched refs:_volumeToggle (Results 1 – 6 of 6) sorted by relevance

/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/media/player/
H A Dmedia_player_widget.cpp241 , _volumeToggle(this, st::mediaPlayerVolumeToggle) in Widget()
280 _volumeToggle->setClickedCallback([=] { in Widget()
348 _volumeToggle->setIconOverride(icon()); in updateVolumeToggleIcon()
391 auto x = _volumeToggle->x(); in getPositionForVolumeWidget()
392 x += (_volumeToggle->width() - st::mediaPlayerVolumeSize.width()) / 2; in getPositionForVolumeWidget()
398 _volumeToggle->installEventFilter(widget); in volumeWidgetCreated()
437 _volumeToggle->moveToRight(right, st::mediaPlayerPlayTop); right += _volumeToggle->width(); in updateControlsGeometry()
523 result += _repeatTrack->width() + _volumeToggle->width(); in getLabelsRight()
571 _volumeToggle->setVisible(_type == AudioMsgId::Type::Song); in updateControlsVisibility()
H A Dmedia_player_widget.h122 object_ptr<Ui::IconButton> _volumeToggle; variable
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/media/view/
H A Dmedia_view_playback_controls.cpp212 , _volumeToggle(this, st::mediaviewVolumeToggle) in PlaybackControls()
245 _volumeToggle->setClickedCallback([=] { in PlaybackControls()
401 _volumeToggle->setIconOverride([&] { in updateVolumeToggleIcon()
550 _volumeToggle->moveToLeft(left, st::mediaviewVolumeTop); in resizeEvent()
551 left += _volumeToggle->width() + st::mediaviewVolumeSkip; in resizeEvent()
555 …_volumeController->moveToLeft(left, st::mediaviewVolumeTop + (_volumeToggle->height() - _volumeCon… in resizeEvent()
H A Dmedia_view_pip.cpp981 check(_volumeToggle); in updateActiveState()
1145 _volumeToggle.state = OverState::VolumeToggle; in setupButtons()
1181 _volumeToggle.area = QRect( in setupButtons()
1197 _volumeToggle.area.moveLeft(rect.x()); in setupButtons()
1198 _volumeController.area.moveLeft(_volumeToggle.area.x() in setupButtons()
1199 + _volumeToggle.area.width()); in setupButtons()
1204 _volumeToggle.icon = _volumeToggle.area.marginsRemoved( in setupButtons()
1338 _volumeToggle, in paintButtons()
1343 _volumeToggle, in paintButtons()
1348 _volumeToggle, in paintButtons()
[all …]
H A Dmedia_view_playback_controls.h106 object_ptr<Ui::IconButton> _volumeToggle; variable
H A Dmedia_view_pip.h272 Button _volumeToggle; variable