1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

SoundPlayer: Changed some small cosmetic things

Renamed "Position" to "Elapsed". "channel/channels" automatically
changes now when more than one channel exist. The current file name
is now displayed in the window title.
This commit is contained in:
Till Mayer 2019-11-05 19:09:31 +01:00 committed by Andreas Kling
parent 94a9649945
commit ac9907ee61
4 changed files with 10 additions and 5 deletions

View file

@ -52,7 +52,7 @@ int main(int argc, char** argv)
window->set_rect(300, 300, 350, 140);
window->set_icon(GraphicsBitmap::load_from_file("/res/icons/16x16/app-sound-player.png"));
auto player = SoundPlayerWidget::construct(audio_client, loader);
auto player = SoundPlayerWidget::construct(window, audio_client, loader);
window->set_main_widget(player);
window->show();