Skip to content

Commit

Permalink
Add copy to clipboard support (ArturKovacs#150)
Browse files Browse the repository at this point in the history
* Work on copying to the clipboard is in progress.

* Copying to clipboard works now. Few things missing

What remains is to add documentation and an entry on the info screen.
Also the ui may not be final in its current state.

* Add UI feedback for when failed to copy the image.

* Add Ctrl/Cmd+C shortcut to the info panel.

* Ran `cargo fmt`

* Update arboard

* Update arboard

* Fix for build error with avif
  • Loading branch information
ArturKovacs authored Sep 12, 2020
1 parent ce14255 commit 4cb3d7d
Show file tree
Hide file tree
Showing 27 changed files with 639 additions and 121 deletions.
133 changes: 130 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ linux_mime_types = [
winres = "0.1"

[dependencies]
gelatin = { path = "./subcrates/gelatin", version = "0.4" }
gelatin = { path = "./subcrates/gelatin", version = "0.5" }
ureq = { version = "1", features = ["json"], optional = true }
lazy_static = "1.4.0"
directories-next = "1.0"
Expand All @@ -73,9 +73,10 @@ serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
rand = "0.7"
lexical-sort = "0.3"
trash = "1.0"
trash = "1.1"
clap = { version = "2.33", default-features = false }
kamadak-exif = "0.5.1"
arboard = "1.0.1"

[dependencies.libavif-image]
version = "0.4"
Expand Down
Binary file added resource/copy-failed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/copy-ready.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/copy-started.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resource_dev/Emulsion Usage.odt
Binary file not shown.
Binary file added resource_dev/Usage Panel/DejaVuSans.ttf
Binary file not shown.
Binary file added resource_dev/Usage Panel/Emulsion Usage.odt
Binary file not shown.
File renamed without changes.
3 changes: 3 additions & 0 deletions resource_dev/Usage Panel/HOW TO EDIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The odt uses the Fira Sans and DejaVu sans fonts. These are
provided here, but make sure these are installed on your system
before editing the "Emulsion Usage.odt" file.
Binary file added resource_dev/copy.xcf
Binary file not shown.
Loading

0 comments on commit 4cb3d7d

Please sign in to comment.