summaryrefslogtreecommitdiff
path: root/Demos
AgeCommit message (Collapse)Author
2020-11-09AK: Rename new_out to out and new_warn to warn.asynts
2020-11-02Demos: Use pledge and unveilBrendan Coles
2020-11-01Demos: Use GUI::Icon::default_icon to set application iconBrendan Coles
2020-10-31LibGfx: Move FontDatabase from LibGUI to LibGfxAndreas Kling
Not sure why I put this into LibGUI in the first place.
2020-10-30WindowServer+LibGfx: Added Crosshair cursorUma Sankar Yedida
2020-10-08Demos: Stop using Widget::foreground_color()Andreas Kling
2020-10-08Demos: Use new format functions.asynts
2020-10-03Everywhere: Fix more typosLinus Groh
2020-09-25Meta+Demos: Make clang-format-10 cleanBen Wiederhake
2020-09-21Applications: Use placeholders in TextBoxes where applicablePeter Elliott
2020-09-12LibGfx: Remove redundant bits() methodBen Wiederhake
In all circumstances, this returned exactly the same thing as scanline_u8(), so let's just remove the silly detour. This does not add any new dependency on Bitmap-internals, because that already existed.
2020-09-11LibGUI+WindowServer: Rename window "override cursor" to just "cursor"Andreas Kling
Let's just say each window has a cursor, there's not really overriding going on.
2020-09-10LibGfx: Move StandardCursor enum to LibGfxAndreas Kling
This enum existed both in LibGUI and WindowServer which was silly and error-prone.
2020-08-30LibGfxDemo: Set window icon to app-libgfx-demo.pngLinus Groh
2020-08-30HelloWorld: Set window icon to app-hello-world.pngLinus Groh
2020-08-27Base: Move 16x16 common icons to /res/icons/16x16/thankyouverycool
Drops the '16' suffix from filenames. Resizes inconsistent audio-volume icons to intended size.
2020-08-27Base: Create /res/graphics/ and relocate system art assetsthankyouverycool
2020-08-25Misc: Remove some unneeded includes of Timer.h and ElapsedTimer.h (#3286)Nico Weber
2020-08-24LibWeb: Move OutOfProcessWebView into the Web namespaceAnotherTest
2020-08-17LibWeb: Rename WebContentView => OutOfProcessWebViewAndreas Kling
2020-08-16Base: Rename Pebbleton to reflect actual heightthankyouverycool
And update programs loading it from file.
2020-08-16LibGUI: Move GUI::Model::Role to GUI::ModelRoleAndreas Kling
This is preparation for using ModelRole in the ModelIndex API.
2020-08-15Misc: Use automatic window positioning in more applicationsLinus Groh
This is a follow up to #2936 / d3e3b4ae56aa79d9bde12ca1f143dcf116f89a4c. Affected programs: - Applications: Browser (Download, View source, Inspect DOM tree, JS console), Terminal (Settings) - Demos: Cube, Eyes, Fire, HelloWorld, LibGfxDemo, WebView, WidgetGallery - DevTools: HackStudio, Inspector, Profiler - Games: 2048, Minesweeper, Snake, Solitaire - Userland: test-web A few have been left out where manual positioning is done on purpose, e.g. ClipboardManager (to be close to the menu bar) or VisualBuilder (to preserve alignment of the multiple application windows).
2020-08-12LibC: Avoid ninja-imports of system functionsBen Wiederhake
This adds a new header <sys/internals.h>, which provides access to LibC internals. This is in the interest of type-checking LibC itself, as well as enabling less-hacky access for uses like LinkDemo. And, of course, this progresses LibC towards building cleanly with -Wmissing-declarations.
2020-08-12DynamicLink: Tell compiler about invisible callsBen Wiederhake
This makes DynamicLink, and in fact all Demos, build cleanly with -Wmissing-declarations. Note that this won't be necessary for 'normal' dynamic shared objects, as those usually already declare their symbols in a header file.
2020-07-29Eyes: Introduce and use iconsBen Wiederhake
The icons are made using a screenshot which was then scaled down. The 16x16 icon needed some light post-processing to look good.
2020-07-27Eyes: Fix division by zero when invoked as 'Eyes'AnotherTest
2020-07-27Eyes: Allow constructing an eye-gridAnotherTest
Because a line of eyes is just not impressive enough. This does not change any of the default behaviours except breaking the line of eyes at 13 eyes (the 'sweet spot' for the default resolution)
2020-07-23LibGUI: Rename GUI::Image => GUI::ImageWidgetAndreas Kling
"Image" was a bit too vague, "ImageWidget" is obviously a widget of some sort.
2020-07-19Demos: Setup window icon for Mouse demoBrian Gianforcaro
The icon was set in the launcher, and the About dialog, but was missing form the actual window.
2020-07-18WidgetGallery: Add more widgetsthankyouverycool
Adds combo and input boxes + more variation for existing widgets.
2020-07-16LibWeb: Require parent window argument for MessageBoxTom
Since the vast majority of message boxes should be modal, require the parent window to be passed in, which can be nullptr for the rare case that they don't. By it being the first argument, the default arguments also don't need to be explicitly stated in most cases, and it encourages passing in a parent window handle. Fix up several message boxes that should have been modal.
2020-07-08Base+Demos: Add icons to WidgetGallerythankyouverycool
2020-07-07WidgetGallery: Add "Cursors" tabLinus Groh
2020-07-07Demos: Print out ELF Auxiliary Vector in LinkDemoAndrew Kaster
This is a test program anyway, so let's double check that the auxv is done properly here.
2020-07-06LibWeb: Move WebContentView from Demos/WebView into LibWebAndreas Kling
2020-07-06WebContent: Plumb link clicks to the WebContentView :^)Andreas Kling
You can now react to links being clicked via the on_link_click hook.
2020-07-05WebContent: Plumb hovered links from WebContent process over to widgetAndreas Kling
Also add a little GUI::StatusBar to the demo app so we can see the hovered link URL's live. :^)
2020-07-05WebContent: Add double buffering to the WebContentViewAndreas Kling
This removes the remaining flicker in the WebContentView widget and makes it feel pretty good to use it. :^) The increase in memory use is something we'll have to address in the future with more sophisticated solutions like tiling, etc.
2020-07-05WebContent: Plumb scroll-into-view requests from server to clientAndreas Kling
The WebContentView widget will now be able to react to scroll-into-view requests from the WebContent process.
2020-07-05WebContent: Use available size for bitmap (#2701)Kevin Meyer
After adding the scrolling feature, content available space reduced and thus the bitmap size was always larger, than the inner size. This lead to the horizontal scrollbar always beeing engaged.
2020-07-04WebContent: Plumb title changes over to the WebContentViewAndreas Kling
WebContentView now fires its on_title_change hook, like Web::PageView. We use this in the WebView test app to update the window title. :^)
2020-07-04WebContent: Give the WebContentView a proper GUI::Frame look :^)Andreas Kling
2020-07-04WebContent: Translate mouse event coordinates into content spaceAndreas Kling
The WebContentView widget now passes content space coordinates along with the various mouse events. :^)
2020-07-04WebContent: Basic scrolling support! :^)Andreas Kling
The WebContentView widget now inherits from GUI::ScrollableWidget and will pass its scroll offset over to the WebContent process as it's changing. This is not super efficient and can get a bit laggy, but it will do fine as an initial scrolling implementation. Just like the single-process Web::PageView widget, WebContentView also paints scrolled content by translating the Gfx::Painter.
2020-07-04WebContent: Put some debug spam behind an #ifdefAndreas Kling
2020-07-04WebContent: Notify client when web content selection changesAndreas Kling
The WebContentView widgets reacts to this by requesting a repaint.
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-21WebContent: Turn it into a MultiInstance service :^)Andreas Kling
Port the WebContent service to the new MultiInstance mechanism that Sergey added. This means that every new WebContentView gets its very own segregated WebContent process.
2020-06-19LibGfxDemo: Fix "90s-bg.png" pathHüseyin ASLITÜRK
Incorrect image file path cause the application to crash on startup.