forked from External/mage
Refactor and fixed and images downloading and paths loading:
- Added new images and symbols downloading; - Fixed user defined images path (now work for all images: cards, symbols, temp downloading); - Fixed not working cancel button at download window (it close window, but tasks is working, download and didn't save); - Fixed temp files trash all around images folder (on cancel button); - Fixed not saving new downloaded cards on cancel button (zip file didn't close on cancel);
This commit is contained in:
parent
efee0b5328
commit
c29bac08d8
13 changed files with 303 additions and 215 deletions
|
|
@ -32,10 +32,9 @@ public interface CardPlugin extends Plugin {
|
|||
/**
|
||||
* Download various symbols (mana, tap, set).
|
||||
*
|
||||
* @param imagesPath Path to check in and store symbols to. Can be null, in
|
||||
* such case default path should be used.
|
||||
* @param imagesDir Path to check in and store symbols to. Can't be null.
|
||||
*/
|
||||
void downloadSymbols(String imagesPath);
|
||||
void downloadSymbols(String imagesDir);
|
||||
|
||||
void onAddCard(MagePermanent card, int count);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue