summaryrefslogtreecommitdiff
path: root/Demos/Cube
AgeCommit message (Collapse)Author
2020-07-04LibGUI: Make GUI::Application a Core::ObjectAndreas Kling
Having this on the stack makes whole-program teardown iffy. Turning it into a Core::Object allows anyone who needs it to extends its lifetime.
2020-06-10LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSizeAndreas Kling
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-02Cube: Add app-cube.png 16x16 iconBrendan Coles
2020-04-18Cube: Two small tweaksAndreas Kling
I noticed these when playing with the demo locally: - Use RGB32 instead of RGBA32 for the bitmap buffer. This avoids some flickering that would sometimes occur. - Clip the gradient fill to the widget rect rather than the painter clip rect. In practice, the painter was always clipped to the widget rect here, but it seems logical to say "fill widget with gradient."
2020-04-18Demos: Add 3D Cube DemoStephan Unverwerth
This renders a spinning 3D cube and demonstrates the 3D math classes from LibGfx.