Commit Graph

547 Commits

Author SHA1 Message Date
GenevensiS 04a3289755 Add dark icon property 2025-12-05 13:36:09 +01:00
GenevensiS 4e197a75cb Add DPI export targets 2025-12-04 18:12:10 +01:00
GenevensiS 2932d0007d Bulk card modification 2025-12-04 15:44:04 +01:00
GenevensiS f22046d77b prevent drag and drop from within the same card list 2025-12-03 17:50:48 +01:00
GenevensiS 2d6c0d2aee rewrite print logic once again
- move Front Face // Back Face card link to exe level
- print front faces and back faces together
- use printer dpi instead of stylesheet dpi
2025-11-30 10:37:59 +01:00
GenevensiS 22b3a3e8b2 add setting to export card notes in meta data 2025-11-29 12:08:00 +01:00
GenevensiS 614f69ab47 sundry tweaks
- prevent infinite loop and warn when a game has no card fields
- choice fields are no longer ignored if they have no choices defined
- templates can now have the same name as their game folder (no hyphen needed)
- indent made by 4 spaces is now considered a tab (but will still produce a warning let's no kid ourselves)
2025-11-28 19:12:33 +01:00
ebbit1q 5512aad587 fix compilation errors 2025-11-28 10:48:54 +01:00
GenevensiS cf0a84a8a7 Card data in images (minimum viable)
* remove wxEmptyString

* improve style tab carousel

* create web request window

* add drop target and drop source
2025-11-28 10:42:30 +01:00
GenevensiS 513612cd0e Dark mode 2025-10-09 17:57:20 +02:00
GenevensiS 78b93e5701 cleanup 2025-08-11 17:54:52 +02:00
GenevensiS 81e9a1e26f Card data in images (start)
* Add uuid implementation

* Simplify uid implementation

* Check for uid conflicts upon adding/copying cards

* Remove unnecessary checks

these are already checked as part of the first loop, since they were added to set.cards

* Implement card linking

* refactor to avoid triple loop

* Start link visualization

* Continue link visualization

* formatting

* add missing locale entries

* improve layout

* improve UI refresh

* copy links when copying cards

* implement second face editor

* refactor using macros

* get references

* pasting multiple cards and links

* start refactoring editors

* continue refactoring editors

* continue refactoring editors again

* finish refactoring editors

* refresh card list on link editor event

* tweak event handling

* Add insert_image script function

* change parameter type

* add script functions to get cards

* add dimensions_of script function

calculate both dimensions simultaneously while rendering the image only once.

* save value even if not editable

* add get_mse_locale script function

* Change zoom scale choices

* bug fixes

* Scale symbol spacing with font size

* sync locales

* standardize line ending

* handle links in new_card

* initial

waiting on wxWidgets 3.3.1

* update comment

* store rect in image filename

* store rect in temp file name

* Update package.cpp

* change line endings
2025-08-11 16:57:04 +02:00
GenevensiS 3bf9de18b1 Implement unique IDs and card linking 2025-08-11 16:17:13 +02:00
GenevensiS dc348b4812 Add to_json and from_json script functions 2025-08-07 18:45:12 +02:00
GenevensiS 2b9bc1f296 Add cutter lines option when printing 2025-08-01 13:54:12 +02:00
GenevensiS d74879b6dd fix empty locale bug 2025-07-24 10:05:42 +02:00
GenevensiS 397cb31dad tweaks to sliders 2025-07-22 08:43:13 +02:00
GenevensiS 5cd8069bf1 add global_script statistics dimension property
this script is ran once at the start, and its result is stored in the 'global_value' variable, which is accessible to the regular script.
2025-07-21 04:31:30 +02:00
GenevensiS 51f882315a fix symbol-font bug
seen here:
https://github.com/MagicSetEditorPacks/Full-Magic-Pack/issues/149
2025-07-20 07:50:02 +02:00
GenevensiS 70e44474a5 fix "referencing nonexistant file" bug
improve internal error message
2025-07-15 02:30:11 +02:00
GenevensiS e4e5b6840e rewrite print layout logic
allow for different size cards
2025-07-14 00:41:25 +02:00
GenevensiS 58ab8f3636 Make some values scriptable
color radius
color left width
color right width
color top width
color bottom width
font shadow displacement x
font shadow displacement y
font shadow blur
2025-07-14 00:23:45 +02:00
GenevensiS dafd1a4f19 Load all fonts folders 2025-07-10 17:17:10 +02:00
ebbit1q a953d72f88 fix string typing error 2025-06-30 00:32:05 +02:00
GenevensiS e45353af9b Add Json importer (#46)
add boost-json to dependencies
2025-06-21 07:53:35 +02:00
GenevensiS 87fbc0e80e Implement CSV / TSV import (#45)
- add csv/tsv importer
- add `make_map` script function
- add `alt name` field property
- add `construction script` field property
- add `construction script` game property
2025-06-09 04:53:33 +02:00
GenevensiS fa300f6e4c allow additional individual choices in slider fields 2025-06-02 14:49:10 +02:00
GenevensiS 616ea3f725 Create slider field type 2025-05-22 12:52:26 +02:00
ebbit1q 8efb2fa492 fix compile error
fixes string typing error that happens in font.cpp
2025-04-14 00:57:49 +02:00
GenevensiS 71350f8fe6 Merge pull request #35 from TomTkacz/local_fonts
font rendering/exporting without installing system-wide
2025-04-10 15:35:47 +02:00
GenevensiS 28b2862bd8 simplify code 2025-04-08 01:47:45 +02:00
GenevensiS dca935a966 Add support for .otf files, add option to load subdirectories 2025-04-07 23:12:58 +02:00
TomTkacz ee4cf2d7b4 made fonts available without installing system-wide 2025-03-12 05:53:02 -05:00
GenevensiS 9ed0569a6d Fix freeze when loading a set with missing templates 2025-03-08 23:14:30 +01:00
Brendan Hagan 6435055d53 feat: add card regions to declare image slice regions for DFCs 2022-08-13 23:58:28 -04:00
Brendan Hagan 05855b812a feat: add ability to control zoom/angle on generated card image 2022-08-13 23:53:29 -04:00
Brendan Hagan e0d9e84740 feat: restore locale level translations for other packages (fixes #41)
This is only a partial fix though, it basically restores the old behavior as a default. That doesn't help though with flipping the definitions to get stuff out of the UI Locale file though. So that'll have to come next for allowing wildcard resolutions to be done from the game(?) or maybe locale extension files?
2022-08-02 21:42:03 -04:00
Brendan Hagan 78227a30da feat: add internal support for underlined text (closes #29) 2022-07-26 22:37:03 -04:00
Brendan Hagan e0f5849a9c misc: change default export_zoom to 100% (fixes #26) 2022-07-18 19:55:59 -04:00
Brendan Hagan 9fe75933dd fix: use export zoom as a double to properly handle non-int scales 2022-07-09 14:48:05 -04:00
Brendan Hagan 9dbb65b109 fix: use canonical name for stylesheet settings (fixes #8) 2022-07-08 23:00:01 -04:00
Brendan Hagan 894d13fbdb feat: restore ability to export using viewer rotation angle 2022-07-07 23:23:35 -04:00
Brendan Hagan 95fdaa776c misc: throw internal image extension behind a preference setting 2022-07-04 01:57:32 -04:00
Brendan Hagan 616fe1aad7 feat: add internal storage scale option to preferences window 2022-07-04 00:52:53 -04:00
Brendan Hagan 4173d5017b feat: revert hack for time card columns, use scripts instead 2022-06-20 21:06:27 -04:00
Brendan Hagan 15ad48a5be feat: super sloppy way of adding more card list columns (created, modified, notes) 2022-06-15 23:08:33 -04:00
Brendan Hagan 66d7f7f583 feat: cleanup unused fields from zoom/export preference changes 2022-06-14 20:04:15 -04:00
Brendan Hagan 6df6aec42d feat: uncouple export zoom from display zoom 2022-06-14 20:04:15 -04:00
Brendan Hagan ab40f587fa misc: export images at 400% scale instead of 100% 2022-06-14 20:04:15 -04:00
Twan van Laarhoven c7377303cf Make templates localizable (Closes #100) 2020-10-03 14:38:39 +02:00