summaryrefslogtreecommitdiff
path: root/Userland/Demos
AgeCommit message (Collapse)Author
2022-01-07Everywhere: Fix spelling mistakesmjz19910
2022-01-07Everywhere: Fix many spelling errorsmjz19910
2021-12-24LibGUI+Userland: Make SortingProxyModel::create() return ErrorOrSam Atkins
Unfortunately, most of the users are inside constructors, (and two others are inside callback lambdas) so the error can't propagate, but that can be improved later.
2021-12-18WidgetGallery: Convert to try_create_default_iconAstraeus-
2021-12-18Mouse: Convert to try_create_default_iconAstraeus-
2021-12-18ModelGallery: Convert to try_create_default_iconAstraeus-
2021-12-18LibGfxScaleDemo: Convert to try_create_default_iconAstraeus-
2021-12-18LibGfxDemo: Convert to try_create_default_iconAstraeus-
2021-12-18Eyes: Convert to try_create_default_iconAstraeus-
2021-12-18CatDog: Convert to try_create_default_iconAstraeus-
2021-12-05Demos: Cast unused smart-pointer return values to voidSam Atkins
2021-11-28Everywhere: Use default execpromises argument for Core::System::pledgeBrian Gianforcaro
2021-11-25WidgetGallery: Use TRY() a lot more :^)pbrw
2021-11-25Starfield: Use TRY() a lot more :^)pbrw
2021-11-25Screensaver: Use TRY() a lot more :^)pbrw
2021-11-25Mouse: Use TRY() a lot more :^)pbrw
2021-11-25ModelGallery: Use TRY() a lot more :^)pbrw
2021-11-25Mandelbrot: Use TRY() a lot more :^)pbrw
2021-11-25LibGfxScaleDemo: Use TRY() a lot more :^)pbrw
2021-11-25LibGfxDemo: Use TRY() a lot more :^)pbrw
2021-11-25Fire: Use TRY() a lot more :^)pbrw
2021-11-25Eyes: Use TRY() a lot more :^)pbrw
2021-11-25Cube: Use TRY() a lot more :^)pbrw
2021-11-25CatDog: Use TRY() a lot more :^)pbrw
2021-11-23WidgetGallery: Port to LibMain :^)Andreas Kling
2021-11-23LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCoreAndreas Kling
With this change, System::foo() becomes Core::System::foo(). Since LibCore builds on other systems than SerenityOS, we now have to make sure that wrappers work with just a standard C library underneath.
2021-11-22Everywhere: Use Application::construct() with Main::Arguments directlyMustafa Quraish
Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`.
2021-11-22Everywhere: Use ArgsParser::parse() with Main::Arguments directlyMustafa Quraish
Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`.
2021-11-22Starfield: Port to LibMainPedro Pereira
Simplified two pledge() by using TRY().
2021-11-21Starfield: Modify speed by Plus or Minus keypressesPedro Pereira
Although this is supposed to be a screensaver, it makes all the sense in the world that it should support modifying the speed interactively. :^)
2021-11-21Starfield: Modify speed by command argumentPedro Pereira
This change allows us to change the speed variable by passing a -s or --speed argument.
2021-11-21Starfield: Support variable speedPedro Pereira
This change allows us to modify the speed in which the Starfield is generated. Increasing the speed also increases the length of each trail.
2021-11-08LibGfx: Use ErrorOr<T> for Bitmap::try_create()Andreas Kling
Another one that was used in a fajillion places.
2021-11-08LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file()Andreas Kling
This was used in a lot of places, so this patch makes liberal use of ErrorOr<T>::release_value_but_fixme_should_propagate_errors().
2021-11-08LibGfx: Use ErrorOr<T> for Bitmap::cropped()Andreas Kling
2021-11-08LibGfx: Use ErrorOr<T> for Bitmap::try_create_wrapper()Andreas Kling
2021-11-08WidgetGallery: Make custom cursors visible only in the cursors tabKarol Kosek
Prior to this change, the selected cursor stayed changed throughout the app, even after switching tabs, which didn't look quite right.
2021-11-03Applications: Remove border from GroupBox marginsFrHun
2021-11-02Demos+DevTools+Games: Fix visibility of Object-derivative constructorsBen Wiederhake
Derivatives of Core::Object should be constructed through ClassName::construct(), to avoid handling ref-counted objects with refcount zero. Fixing the visibility means that misuses like this are more difficult.
2021-10-27Everywhere: Rename back-click to backward-clickFiliph Sandström
This matches the current forward-click terminology.
2021-10-27Everywhere: Rename left/right-click to primary/secondaryFiliph Sandström
This resolves #10641.
2021-10-26Demos: Remap mouse button events to physical buttons in MouseDemoIdan Horowitz
This ensures we paint the left button as clicked when the left mouse button is pressed (and vice-versa with the right one) when the right mouse button is set as the primary one in the mouse settings.
2021-10-26Demos: Change MouseDemo's window title to "Mouse demo"Idan Horowitz
The previous title ("Mouse button demo") didn't fit in the window's titlebar, which looked pretty bad.
2021-10-07LibGUI: Support drag-to-reorder in TabWidgetPeter Elliott
2021-09-20WidgetGallery: Crop animated cursorsKarol Kosek
Selecting the wait cursor displayed the full sprite image. This has been borrowed from the MouseSettings.
2021-09-20WidgetGallery+MouseSettings: Use LexicalPath::basename()Karol Kosek
2021-09-20WidgetGallery: Simplify cursor change codeKarol Kosek
The code here wasn't updated when a new file icons appeared, so double- -clicking a cursor didn't always set it to the correct one. Also, the cursor list is sorted alphabetically, by the file name. So if a theme used a different file naming in Config.ini, then the previous code would also be incorrect. Here we will just take the bitmap icon from the model. Closes: #10142
2021-09-12Fire: Use ElapsedTimer::start_new()Brian Gianforcaro
2021-09-12Cube: Use ElapsedTimer::start_new()Brian Gianforcaro
2021-09-11WidgetGallery: Add GUI::ValueSlider widgetMustafa Quraish
This was a cool slider and was missing from the gallery completely. Vertical mode for this isn't enabled, and it looked awfully crammed in the bottom along with the other horizontal sliders, so for now I've just added this to the top, and it controls the opacity of the image along with the opacity slider.