Commit Graph

1530 Commits

Author SHA1 Message Date
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
Brendan Hagan 1c7b463f67 Merge remote-tracking branch 'haganbmj/master' into clear-console 2022-07-01 21:00:57 -04:00
Brendan Hagan 4a1000e65c misc: remove in-panel button for clearing console 2022-06-22 23:44:53 -04:00
Brendan Hagan d3712460e8 feat: add clear button to console panel 2022-06-22 23:43:59 -04:00
Brendan Hagan be2635f778 misc: apply canonical field name transformation 2022-06-21 23:17:28 -04:00
Brendan Hagan 6e077b0899 feat: add extra_data() function to expose extra card fields 2022-06-21 23:16:13 -04:00
Brendan Hagan d3bd691578 fix: correct wx positioning specifications for style panel 2022-06-21 22:46:50 -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 31c2cbd54f feat: apply filtering to style list on "style" panel 2022-06-20 20:46:06 -04:00
Brendan Hagan 6893ec3503 feat: apply filtering to style list on "style not found" window 2022-06-20 20:06:28 -04:00
Brendan Hagan b561e5ff77 misc: right align game/style filter, correct help text location 2022-06-20 00:15:19 -04:00
Brendan Hagan 766a99fbc4 feat: apply filtering to game list, correct selections after filtering
Will need to propogate these filtering options to the other places these things are present, there's a dedicated variant for just the stylesheet dialog window and also the Style tab.
2022-06-19 23:38:38 -04:00
Brendan Hagan 52f1724449 feat: new set stylesheet filtering 2022-06-19 22:46:10 -04:00
Brendan Hagan bd8ad40694 ui: additional export zoom options 2022-06-17 21:50:33 -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 61be347976 misc: remove resource tool image bitmap block
This was giving me issues on Win10, right click context menus were failing to get text.
2022-06-15 20:39:50 -04:00
Brendan Hagan f83aeec40d misc: revert some of the early workarounds for getting this building 2022-06-15 20:01:25 -04:00
Brendan Hagan 8b888f8d5a ui: add button for slice selection centering 2022-06-14 20:04:15 -04:00