move capturing of screenshots to ImageCapture utility

Extracts the logic for caturing/saving/uploading
images from the screenshot plugin to a separate
utility named ImageCapture.
The Imgur class were made inner classes of ImageCapture
since the only location they see use is there.
ImageUploadStyle and TransferableBufferedImage were
also moved to ulities to allow ImageCapture and other
plugins to use them.
This commit is contained in:
Alexsuperfly
2019-11-26 19:59:28 -05:00
committed by Adam
parent bbdb812a4b
commit 437a1a2286
9 changed files with 271 additions and 249 deletions

View File

@@ -12,4 +12,5 @@ runelite.dnschange.link=https://1.1.1.1/dns/
runelite.jav_config=http://oldschool.runescape.com/jav_config.ws
runelite.jav_config_backup=http://static.runelite.net/jav_config.ws
runelite.pluginhub.url=https://repo.runelite.net/plugins
runelite.pluginhub.version=${project.version}
runelite.pluginhub.version=${project.version}
runelite.imgur.client.id=30d71e5f6860809