1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 10:12:07 +00:00
serenity/Userland/Demos/WidgetGallery
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
..
GalleryGML Everywhere: It's now "Foobar", not "FooBar", and not "foo bar" 2021-04-13 16:58:15 +02:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
DemoWizardDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DemoWizardDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DemoWizardPage1.gml Everywhere: Remove empty {} from GML objects 2021-03-29 09:10:23 +02:00
DemoWizardPage2.gml Everywhere: It's now "Foobar", not "FooBar", and not "foo bar" 2021-04-13 16:58:15 +02:00
GalleryModels.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
GalleryWidget.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
GalleryWidget.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00