Age | Commit message (Collapse) | Author |
|
|
|
This was done with CLion's automatic rename feature.
|
|
|
|
shot was refactored to retrive crop_region,
but it is empty when -r is not used.
|
|
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.
|
|
This resolves #10641.
|
|
Previously, we were always getting the full screen(s) bitmap from
the WindowServer and cropping it manually. The `get_screen_bitmap`
function already took in a `crop_region`, so we are now utilizing
that.
|
|
The hyperlink only gets printed when stdout is a TTY, so e.g. something
like `shot | cat` will not get the hyperlink escapes.
|
|
The way overlay was drawn is not the correct way to achieve window
transparency in selection mode. With this change, shot window becomes
truely transparent.
|
|
A click and drag selectable, transparent, fullscreen window is
displayed with the command line argument -r for screenshots.
|
|
(#8515)"
This reverts commit 1c06d772628a0191289fe30edcc143e29ba2ca32.
This was squashed by mistake, the rebased version will follow.
|
|
* LibGUI: Verify m_window_id is not-zero in set_maximized
Window::set_maximized requires non-zero window id to be a valid call,
i.e. calling Window::show beforehand. A verify statement before the
server call can help developers by hinting correct usage.
* LibGUI: Paint background when the fullscreen window is transparent
The windows in the background are ignored when the window is fullscreen.
However, we still would like to see the background if that window is
transparent.
* Userland: Add ability to capture rectangular region in shot
A click and drag selectable, transparent, fullscreen window is
displayed with the command line argument -r for screenshots.
|
|
A negative delay option for shot was used to underflow when passed to
sleep. Now, it returns an error for a negative delay value.
|
|
This enables the shot utility to capture all screens or just one, and
enables the Magnifier application to track the mouse cursor across
multiple screens.
|
|
...and make it an enum class so people don't omit "OpenMode".
|
|
This way, we can optionally specify a region of the display to capture.
Defaults to entire screen if no rectangle is given.
|
|
This changes client methods so that they return the IPC response's
return value directly - instead of the response struct - for IPC
methods which only have a single return value.
|
|
This updates all existing code to use the auto-generated client
methods instead of post_message/send_sync.
|
|
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
|
|
This is still far from ideal, but let's at least make it take a
Gfx::Bitmap const&.
|
|
This option allows for the user to set a delay before a screenshot taken.
The user could minimize the window, for example.
|
|
This allows screenshots to be easily used in PixelPaint for example :^)
|
|
This little CLI program grabs the current screen image from
WindowServer and saves it as a PNG file.
|