mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Moved clean_filename to file_utils.cpp where it belongs;
Split up images exporting, and moved it to data/formats/image git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1085 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <util/prec.hpp>
|
||||
#include <util/error.hpp>
|
||||
#include <data/settings.hpp>
|
||||
|
||||
class Game;
|
||||
DECLARE_POINTER_TYPE(Set);
|
||||
@@ -85,6 +86,10 @@ FileFormatP mtg_editor_file_format();
|
||||
/// Export images for each card in a set to a list of files
|
||||
void export_images(Window* parent, const SetP& set);
|
||||
|
||||
/// Export the image for each card in a list of cards
|
||||
void export_images(const SetP& set, vector<CardP>& cards,
|
||||
const String& path, const String& filename_template, FilenameConflicts conflicts);
|
||||
|
||||
/// Export the image of a single card
|
||||
void export_image(const SetP& set, const CardP& card, const String& filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user