summaryrefslogtreecommitdiff
path: root/Userland/Applications/Magnifier
AgeCommit message (Collapse)Author
2021-07-21Userland: Add GUI::Window::add_menu() and use it everywhereAndreas Kling
Applications previously had to create a GUI::Menubar object, add menus to it, and then call GUI::Window::set_menubar(). This patch introduces GUI::Window::add_menu() which creates the menubar automatically and adds items to it. Application code becomes slightly simpler as a result. :^)
2021-07-04Magnifier: Make a custom 16x16 icon for this app + tweak 32x32 versionAndreas Kling
Stop piggybacking on the generic "find" icon and make a custom one. :^)
2021-07-04Magnifier: Make the main widget a GUI::FrameAndreas Kling
This makes the magnifier window look slightly nicer. :^)
2021-07-04WindowServer: Make most remaining WindowServer IPC calls asyncAndreas Kling
The only remaining sync call from client to server is now the call that switches a window's backing store. That one actually relies on the synchronization to hand over ownership of the backing stores, so it has to stay synchronous for now.
2021-06-17Everywhere: Add component declarationsGunnar Beutner
This adds component declarations so that users can select to not build certain parts of the OS.
2021-06-07WindowServer+Magnifier: Make Magnifier buttery smooth :^)Andreas Kling
This patch moves the magnifier rect computation over to the server side to ensure that the mouse cursor position and the screen image never get out of sync.
2021-06-07Magnifier: Use a GUI::DisplayLink to drive the screen capturesAndreas Kling
This ensures that we don't try to update more often than the screen is updated. It also avoids doing synchronous IPC in paint_event().
2021-06-06Magnifier: Add desktop display scale awarenessEugene Barnett
Continues to magnify correctly at the most current desktop scale.
2021-05-13Userland: Tighten a *lot* of pledges! :^)Andreas Kling
Since applications using Core::EventLoop no longer need to create a socket in /tmp/rpc/, and also don't need to listen for incoming connections on this socket, we can remove a whole bunch of pledges!
2021-05-11Magnifier: Make window resizableLinus Groh
Instead of having the window non-resizable, it now defaults to a frame size of 200 x 200 pixels but is user-resizable. The shown screenshot updates its size accordingly. :^) Sometimes we might need a larger view, or a non-square shape.
2021-05-11Userland: Implement a magnifier appValtteri Koskivuori
This utility is useful for making sure those UI elements are pixel perfect. A simple 2x/4x magnification around the mouse cursor, shown in a window.