Commit Graph

1357 Commits

Author SHA1 Message Date
GenevensiS c956901a37 make combine_blend function blend alpha channels as well 2024-09-17 10:01:21 +02:00
Brendan Hagan bd875779f5 fix: update blend functions to respect alpha channel (fixes #82) (#83)
* fix: update linear_blend to respect alpha channel

* fix: update masked_blend to respect alpha channel

Unclear if this is the right implementation.

* misc: remove unnecessary fixed declaration

* misc: update mask_blend

* update changes.md

* misc: fix typo in changes.md
2024-08-23 19:49:56 -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
Luke Le Moignan 4d6954eaa8 Fix the cross-thread message queue to actually act as a queue, not a stack 2022-12-31 10:01:33 +00:00
Brendan Hagan 2770b07668 misc: code formatting + readme update 2022-12-30 22:12:44 -05:00
Brendan Hagan e4cf30cc5b Merge pull request #57 from llemoi/keyword_filter_crash_fix
Fixed crash when 0 keywords match filter string in keyword panel
2022-12-30 22:04:59 -05:00
Luke Le Moignan 1b88d905b1 Fix crash when nonexistent string entered when filtering keywords 2022-12-29 02:02:03 +00:00
Luke Le Moignan 1444defc03 Fixed scrolled widgets not scrolling fully (or at all) 2022-12-27 13:12:17 +00:00
Brendan Hagan 8d78a66517 Merge pull request #53 from haganbmj/export_subdirectories
export scripts can write to subdirectories
2022-11-18 22:12:02 -05:00
Brendan Hagan 5ba9a33e18 misc: make export directory creation recursive 2022-11-18 21:58:33 -05:00
Djack Donovan d9f79ef99b export scripts can write to subdirectories
Allow export scripts to write files to new subdirectories
2022-11-18 21:52:49 -05:00
Djack Donovan d1bac74eb9 Script: to_date accepts "now" as an argument
indentation fix
2022-11-18 21:40:12 -05:00
Brendan Hagan d52a147133 misc: cleanup welcome window changes 2022-11-18 21:27:00 -05:00
Brendan Hagan ff96831cf1 change WelcomeWindow's UI
https://github.com/247321453/MagicSetEditor2Ex/commit/72e58c1825c1ad67369c8a17783ffd937a037c32
2022-11-18 21:12:45 -05:00
Brendan Hagan e951aed2a8 WelcomeWindow append change language
https://github.com/247321453/MagicSetEditor2Ex/commit/4f80e9ff54c817875356a18f8c79dd70ff0a67fd
2022-11-18 21:11:07 -05:00
Brendan Hagan ec98048c26 misc: export options window formatting 2022-11-18 21:08:29 -05:00
Brendan Hagan 3c64d25cf6 Merge pull request #50 from halian/master
Fix build errors on Mac OS X+
2022-11-18 20:36:08 -05:00
Brendan Hagan f83a52dddc Merge pull request #34 from haganbmj/dfc_images
feat: script functions for generating and manipulating card images
2022-08-15 19:50:08 -04:00
Brendan Hagan 4a606474c4 misc: disable update checking on startup 2022-08-14 17:27:19 -04:00
Brendan Hagan 344dd90a8b misc: change unsigned int cast 2022-08-14 17:18:39 -04: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 a1fda8c6cd feat: barebones image width/height script functions
Ideally want a better way to make these properties or something.
2022-08-13 23:53:29 -04:00
Brendan Hagan 0b22b17153 feat: initial implementation for to_card_image() function (closes #33) 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 3ace171b82 misc: define 2.3.0 version number + add unofficial suffix 2022-07-29 22:06:29 -04:00
Brendan Hagan e556403154 misc: adjust text formatting in tagged_string 2022-07-26 22:41:10 -04:00
Brendan Hagan 132d8d9351 feat: add underline to panels and export 2022-07-26 22:37:57 -04:00
Brendan Hagan 78227a30da feat: add internal support for underlined text (closes #29) 2022-07-26 22:37:03 -04:00
Brendan Hagan 0eed9aa777 fix: unicode text entry on set symbol editor 2022-07-21 17:11:49 -04:00
Brendan Hagan f6e8a8177b fix: correct unicode text entry behavior (fixes twanvl#121)
GetKeyCode doesn't handle unicode, so it returns 0 for cyrillic (and other) characters, which was getting rejected as invalid input. I'm assuming this broke on some wxWidgets upgrade, as the MSE code for this hasn't changed in over a decade?
2022-07-20 21:44:40 -04:00
Brendan Hagan e0f5849a9c misc: change default export_zoom to 100% (fixes #26) 2022-07-18 19:55:59 -04:00
Brendan Hagan 30b9919c82 fix: Add Cards toolbar submenu initial load content (fixes twanvl#153)
This commit is what broke it, but it did so while referencing some cross platform incompatibility. I hope the method done by this fix avoids that compatibility issue.
2022-07-17 02:00:52 -04:00
Brendan Hagan fabb6cc3f1 fix: correct computed sizes on slice window to properly display margins
The display size of the Output image was being computed using the available element size, which included margins and was leading to the bottom couple pixels being clipped. Correcting that to properly account for the actual image size.
2022-07-15 08:32:38 -04:00
Brendan Hagan 52a918be39 misc: remove extra_data function 2022-07-14 17:33:22 -04:00
Brendan Hagan 4f7fa585f7 feat: expose extra_card and extra_card_style script accessible variables 2022-07-14 17:30:45 -04:00
Brendan Hagan a43920089d feat: more slice window alignment options 2022-07-12 00:17:56 -04:00
Brendan Hagan 03c8d13aa6 misc: use different format for console timestamp width 2022-07-10 21:28:30 -04:00
Brendan Hagan 5aeb08cb07 feat: add timestamps to console messages 2022-07-10 17:21:05 -04:00
Brendan Hagan 5e1f923b38 misc: reduce impact of locale changes
This is more backwards compatible and would permit applying this locale to an older version without as much mess. I don't think MSE has any concept of versioning on locales unfortunately to permit declaring which field applies to which version.
2022-07-09 19:21:41 -04:00
Brendan Hagan c5d2bcf9d0 fix: apply image slice scale after slice window to avoid mask issues
MSE draws masks on the slice window and expects the sizes to be equivalent. This was presenting problems with the way I was trying to do internal scale as I was applying the scale upfront as the slice window loads and would need to scale the mask to match. Instead, applying the scale only when the output is generated from the slice window.
2022-07-09 14:51: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 70dec7eff4 fix: correct viewer rotation direction (fixes #9) 2022-07-08 21:43:02 -04:00
Brendan Hagan 894d13fbdb feat: restore ability to export using viewer rotation angle 2022-07-07 23:23:35 -04:00
Brendan Hagan 661b4b8328 fix: correct wx positioning usage in new_window style filters 2022-07-06 20:07:51 -04:00
Brendan Hagan 66f6ffc093 Merge pull request #6 from haganbmj/stored_image_resolution
misc: change storage size of image slices
2022-07-04 16:08:21 -04:00