diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-07-11 10:03:45 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-11 11:35:56 +0200 |
commit | 7b89c4e4122f33f16c9f312d6ff604cda97360f2 (patch) | |
tree | 254e84f2456f0ac2907976fdaae60188f8f492fe /Base/usr | |
parent | fb7cd7b3406ffb75a8d1d7c7e03f3f19a9ad90c6 (diff) | |
download | serenity-7b89c4e4122f33f16c9f312d6ff604cda97360f2.zip |
Base: Improve clipboard manpage style
Diffstat (limited to 'Base/usr')
-rw-r--r-- | Base/usr/share/man/man5/clipboard.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Base/usr/share/man/man5/clipboard.md b/Base/usr/share/man/man5/clipboard.md index 9df4f07137..80056e03d9 100644 --- a/Base/usr/share/man/man5/clipboard.md +++ b/Base/usr/share/man/man5/clipboard.md @@ -25,7 +25,7 @@ Various applications accept drag & drop to open files. Requires the metadata-fields `count` (count of glyphs copied) and `first_glyph` (lowest codepoint that is copied), encoded as decimal strings. -The data contains codepoint (encoded as host-endian u32), width and height (as u8's) and glyph bitmap data. It is encoded in width times height many bytes, either 0 (clear) or 1 (set). +The data contains code point (encoded as host-endian `u32`), width and height (as `u8`'s) and glyph bitmap data. It is encoded in width times height many bytes, either 0 (clear) or 1 (set). Implemented in `FontEditor::MainWidget::copy_selected_glyphs` and `FontEditor::MainWidget::paste_glyphs`, in [`Userland/Applications/FontEditor/MainWidget.cpp`](../../../../../Userland/Applications/FontEditor/MainWidget.cpp). @@ -34,13 +34,13 @@ Implemented in `FontEditor::MainWidget::copy_selected_glyphs` and `FontEditor::M Requires the metadata-fields `width`, `height`, `scale`, `format` (see `Gfx::BitmapFormat`), and `pitch`, encoded as decimal strings. The data is encoded according to `Gfx::determine_storage_format(BitmapFormat)`, so either as -BGRx8888, BGRA8888, RGBA8888, or 8-bit palette index. Note that the palette is not transferred. +`BGRx8888`, `BGRA8888`, `RGBA8888`, or 8-bit palette index. Note that the palette is not transferred. Implemented in [`Clipboard::set_bitmap` and `Clipboard::DataAndType::as_bitmap()`](../../../../../Userland/Libraries/LibGUI/Clipboard.cpp). ## text/uri-list (Clipboard and drag & drop) -Newline-delimited set of URIs. Used by File Manager, FileSystemModel, and Terminal. +Newline-delimited set of URIs. Used by File Manager, `FileSystemModel`, and Terminal. Example: |