Commit Graph

1547 Commits

Author SHA1 Message Date
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
Brendan Hagan 95fdaa776c misc: throw internal image extension behind a preference setting 2022-07-04 01:57:32 -04:00
Brendan Hagan 386e5ba4a4 misc: additional documentation for internal image scale 2022-07-04 01:04:26 -04:00
Brendan Hagan 616fe1aad7 feat: add internal storage scale option to preferences window 2022-07-04 00:52:53 -04:00
Brendan Hagan 6a7ec90735 misc: realign zoom and export zoom dropdown options
You can always type in another value, so there really isn't much benefit.
2022-07-03 23:49:44 -04:00
Brendan Hagan 5c983275af feat: initial arbitrary constrain of slice window images to 500x500 2022-07-03 23:48:02 -04:00
Brendan Hagan 2db0ad9ad4 misc: add additional localized string methods for labels 2022-07-03 23:47:13 -04:00
Brendan Hagan a7014b9ee4 fix: de-scale slice preview window
This is a workaround, not a good solution. The slice doesn't really handle sizing well and doesn't set great maximum sizes on the elements within it. I _think_ that can be worked around by constraining the preview, but none of that is really properly context aware to the user's screen.
2022-07-03 22:06:31 -04:00
SoaringMoon 088d082981 update to string.cpp capitalize_in_place()
updates string.cpp to bring to_title() to compliance with APA standards.
2022-07-03 20:01:48 -04:00
Brendan Hagan 8d38ab074b misc: change image slice scale to 200% of style's specified
Want to circle back and find a better pattern for this as it enlarges the slice window (which doesn't clamp the preview window) and it unnecessarily upscales small images which bloats storage a bit. There's probably also something smarter to do with just saving "as large as possible" rather than strictly template size.
2022-07-01 21:10:53 -04:00
Brendan Hagan b63b3a3f62 misc: store images internally with PNG extension for easier manual tinkering 2022-07-01 21:04:26 -04:00