mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +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:
parent
94a9649945
commit
ac9907ee61
4 changed files with 10 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <LibGUI/GLabel.h>
|
||||
#include <LibGUI/GSlider.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
|
||||
class SoundPlayerWidget final : public GWidget {
|
||||
C_OBJECT(SoundPlayerWidget)
|
||||
|
@ -13,7 +14,7 @@ public:
|
|||
virtual ~SoundPlayerWidget() override;
|
||||
|
||||
private:
|
||||
explicit SoundPlayerWidget(NonnullRefPtr<AClientConnection>, AWavLoader&);
|
||||
explicit SoundPlayerWidget(GWindow&, NonnullRefPtr<AClientConnection>, AWavLoader&);
|
||||
|
||||
void update_position(const int position);
|
||||
void update_ui();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue