mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Add cutter lines option when printing
This commit is contained in:
+11
-1
@@ -151,7 +151,15 @@ IMPLEMENT_REFLECTION_NO_SCRIPT(StyleSheetSettings) {
|
||||
REFLECT(card_draw_editing);
|
||||
REFLECT(card_normal_export);
|
||||
REFLECT(card_spellcheck_enabled);
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------- : Printing settings
|
||||
|
||||
IMPLEMENT_REFLECTION_ENUM(CutterLinesType) {
|
||||
VALUE_N("all", CUTTER_ALL);
|
||||
VALUE_N("no intersect", CUTTER_NO_INTERSECTION);
|
||||
VALUE_N("none", CUTTER_NONE);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------- : Settings
|
||||
|
||||
@@ -168,6 +176,7 @@ Settings::Settings()
|
||||
, symbol_grid (true)
|
||||
, symbol_grid_snap (false)
|
||||
, print_spacing (0.33)
|
||||
, print_cutter_lines (CUTTER_ALL)
|
||||
, internal_scale (1.0)
|
||||
, internal_image_extension(true)
|
||||
#if USE_OLD_STYLE_UPDATE_CHECKER
|
||||
@@ -257,6 +266,7 @@ IMPLEMENT_REFLECTION_NO_SCRIPT(Settings) {
|
||||
REFLECT(symbol_grid_snap);
|
||||
REFLECT(default_game);
|
||||
REFLECT(print_spacing);
|
||||
REFLECT(print_cutter_lines);
|
||||
REFLECT(apprentice_location);
|
||||
REFLECT(internal_scale);
|
||||
REFLECT(internal_image_extension);
|
||||
|
||||
+11
-1
@@ -111,6 +111,15 @@ public:
|
||||
|
||||
DECLARE_REFLECTION();
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------- : Printing settings
|
||||
|
||||
enum CutterLinesType
|
||||
{ CUTTER_ALL
|
||||
, CUTTER_NO_INTERSECTION
|
||||
, CUTTER_NONE
|
||||
};
|
||||
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------- : Settings
|
||||
@@ -180,8 +189,9 @@ public:
|
||||
IndexMap<FieldP,ValueP>& exportOptionsFor(const ExportTemplate& export_template);
|
||||
|
||||
// --------------------------------------------------- : Printing
|
||||
|
||||
|
||||
double print_spacing;
|
||||
CutterLinesType print_cutter_lines;
|
||||
|
||||
// --------------------------------------------------- : Special game stuff
|
||||
String apprentice_location;
|
||||
|
||||
Reference in New Issue
Block a user