serenity/Userland/Applications/SoundPlayer
sin-ack ca2c81251a Everywhere: Replace Model::update() with Model::invalidate()
Most of the models were just calling did_update anyway, which is
pointless since it can be unified to the base Model class. Instead, code
calling update() will now call invalidate(), which functions identically
and is more obvious in what it does.

Additionally, a default implementation is provided, which removes the
need to add empty implementations of update() for each model subclass.

Co-Authored-By: Ali Mohammad Pur <ali.mpfard@gmail.com>
2021-08-06 19:14:31 +02:00
..
AudioAlgorithms.cpp Everywhere: Use AK/Math.h if applicable 2021-07-19 16:34:21 +04:30
AudioAlgorithms.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BarsVisualizationWidget.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
BarsVisualizationWidget.h SoundPlayer: Show the context menu right under the cursor 2021-07-11 21:15:56 +02:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Common.h SoundPlayer: Fix playback slider page stepping 2021-06-02 09:39:30 +02:00
M3UParser.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
M3UParser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
NoVisualizationWidget.cpp LibGfx: Use "try_" prefix for static factory functions 2021-07-21 18:02:15 +02:00
NoVisualizationWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PlaybackManager.cpp SoundPlayer: Handle any input file sample rate 2021-06-21 03:13:59 +04:30
PlaybackManager.h SoundPlayer: Handle any input file sample rate 2021-06-21 03:13:59 +04:30
Player.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PlaylistWidget.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
PlaylistWidget.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SampleWidget.cpp Everywhere: Use AK/Math.h if applicable 2021-07-19 16:34:21 +04:30
SampleWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SoundPlayerWidgetAdvancedView.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SoundPlayerWidgetAdvancedView.h SoundPlayer: Handle any input file sample rate 2021-06-21 03:13:59 +04:30
VisualizationBase.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00