Commit Graph

785 Commits

Author SHA1 Message Date
GenevensiS 2888dc4059 add bleed edge option, get_card_export_settings function 2025-12-13 20:33:18 +01:00
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 bf7a9c2f14 Update about_window.cpp 2025-10-09 18:06:39 +02: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 079d40a94c increase about_window size 2025-08-11 15:26:45 +02:00
GenevensiS fb1f96d517 add const where possible 2025-08-09 13:01:47 +02:00
GenevensiS dc348b4812 Add to_json and from_json script functions 2025-08-07 18:45:12 +02:00
GenevensiS 12eb39b5e2 remove debug message 2025-08-01 14:02:20 +02:00
GenevensiS 2b9bc1f296 Add cutter lines option when printing 2025-08-01 13:54:12 +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 45d48d67b1 Revert "restrict drop down menu closing conditions"
This reverts commit 026400a1e0.
2025-07-18 04:40:16 +02:00
GenevensiS e4e5b6840e rewrite print layout logic
allow for different size cards
2025-07-14 00:41:25 +02:00
GenevensiS 026400a1e0 restrict drop down menu closing conditions 2025-07-02 21:40:45 +02:00
GenevensiS 67f8b2bcb1 close drop down menus on tab key press 2025-07-02 01:23:35 +02:00
GenevensiS 276842be30 restrict drop down menu closing conditions 2025-07-02 00:27:26 +02:00
GenevensiS 2e839d673b change keyword name and match proportions 2025-07-01 22:45:19 +02:00
ebbit1q b230ca44b8 fix string typing error 2025-06-29 23:45:29 +02:00
GenevensiS e252c8808b optimise updateCardCounts 2025-06-29 23:19:28 +02:00
GenevensiS 5be8ae8794 Update add_csv_window.cpp 2025-06-26 21:01:30 +02:00
GenevensiS d95e9cb2b4 fix reference bug in readCSV() 2025-06-25 22:50:58 +02:00
GenevensiS e45353af9b Add Json importer (#46)
add boost-json to dependencies
2025-06-21 07:53:35 +02:00
GenevensiS 128bb3867d fix add_csv_window description 2025-06-13 00:55:21 +02:00
GenevensiS a401d68c9b update locales 2025-06-09 17:04:18 +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 0d1b5a6be0 better print bug fix 2025-06-01 23:00:29 +02:00
GenevensiS 2e48c5e868 Allow "Default" in slider fields 2025-05-22 22:15:35 +02:00
GenevensiS 616ea3f725 Create slider field type 2025-05-22 12:52:26 +02:00
GenevensiS 7ad662f74e Stop dropdown menus from closing on wxEVT_SIZE events
This prevents dropdown menus from closing when there is a console message/warning/error
2025-05-19 17:49:40 +02:00
GenevensiS 6ac93dc6ab Handle cards with different DPI 2025-02-15 16:02:52 +01:00
GenevensiS cfe308f38f Update print_window.cpp 2025-02-14 19:30:06 +01:00
GenevensiS 79a3a57684 Merge pull request #22 from G-e-n-e-v-e-n-s-i-S/delete-last-card-crash
Fix crash when deleteing last card in set
2024-09-28 01:23:51 +02:00
GenevensiS 4878b1c8d4 Update item_list.cpp 2024-09-28 01:20:13 +02:00
GenevensiS 9ffe2f06a1 Update preferences_window.cpp 2024-09-26 14:56:52 +02:00
GenevensiS d0522f6a09 Scale card render in program with DPI (#90) 2024-09-25 21:26:45 -04:00
Brendan Hagan 2795327f22 misc: increase stats column width by 50% (fixes #71) (#72)
This isn't a great solution since it's still just a static number, but it does at least improve the situation a bit for now.
2024-04-29 13:47:57 -04:00
BaconCatBug 862907cf5b Update CMakeLists.txt to allow for static compilation | Update Readme.md | Update package.ps1 (#74)
* Fix CMakeLists, Update Readme and package.ps1

Fixed CMakeLists to allow for static complilation/workaround for broken Hunspell Upped version number to 2.5.0

Updated Readme to include corrected compilation instructions for Visual Studio and Workarounds.

Updated package.ps1 to include the cli executable in the dist zips and upped the version number to 2.5.0

* Update README.md

* Update package.ps1

* Update package.ps1

* Update CHANGES.md

* Update preferences_window.cpp

* Update README.md
2024-04-29 13:47:19 -04:00
Brendan Hagan ad6d40df4c fix: correct localization of strings on Print window 2024-02-12 23:21:40 -05:00
Brendan Hagan 509438a49d misc: expand image file selector choices (fixes #62) (#70) 2024-02-12 22:08:16 -05:00