Commit Graph

771 Commits

Author SHA1 Message Date
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 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 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 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
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 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 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
Brendan Hagan c2fea6bd96 ui: default image slice selection to center 2022-06-14 20:04:15 -04:00
Brendan Hagan b9fa4c5b66 ui: defaulting image slice selector size 2022-06-14 20:04:15 -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 087da12893 misc: get this crap building locally
Looks like my install via vcpkg sets up a different directory structure for hunspell
2022-06-14 20:04:15 -04:00
Brendan Hagan 28fbde97a6 ci: attempt a action based build
ci: add workflow_dispatch


ci: adjust msys install instructions


ci: switch msystem


ci: try different cmake installation


ci: try mingw64 instead


ci: unix makefiles?


ci: switch to mingw64 shell


ci: install cmake via pacboy?


ci: switch to Ninja?


misc: remove some outdated XP compatibility preprocessor symbols?

https://docs.wxwidgets.org/trunk/page_wxusedef.html
ci: switch main to master


misc: more attempts at correcting build errors


misc: bitmap/image conversions?


ci: trying to get a static build


ci: try to find hunspell dll


ci: hunt down hunspell


ci: modify static flags
2022-06-14 20:04:15 -04:00
Carl Miller, Jr 9d41397848 add #ifdefs for OSX-specific code 2021-08-27 06:56:59 -04:00
Carl Miller, Jr 275f18a324 make Mac OS X+ binary build again 2021-08-24 23:09:06 -04:00
Carl Miller, Jr 3a243f23e6 rebase (#1)
* Include unordered_map (fixes #104)

* Make templates localizable (Closes #100)

* Check/uncheck all selected cards in export window (Closes #93)

Co-authored-by: Twan van Laarhoven <twanvl@gmail.com>
2021-02-15 02:18:50 -05:00
Twan van Laarhoven 5e50cb4c56 Check/uncheck all selected cards in export window (Closes #93) 2020-10-03 15:06:04 +02:00
Twan van Laarhoven c7377303cf Make templates localizable (Closes #100) 2020-10-03 14:38:39 +02:00
Twan van Laarhoven cf19bc76c3 Fix #98: tab traversal in native look editors. Use bounding_box instead of style.left/top/etc. 2020-09-27 14:44:55 +02:00
Twan van Laarhoven c07a8ff8f6 Fix: autoreplace could go out of bounds 2020-06-21 13:51:20 +02:00
guy 516f36a9d2 Added changes for building on Catalina 2020-06-15 00:23:33 -04:00
Twan van Laarhoven a7336d66e1 Card list sorting is now handled per window (closes #71) 2020-06-14 21:43:33 +02:00
Twan van Laarhoven 8c26eb5b47 Image slice window now always uses "size to fit" as default sizing type 2020-06-10 01:14:16 +02:00
Twan van Laarhoven 053449d5d4 Correct ascending/descending arrows when sorting card and keyword lists 2020-06-10 00:47:58 +02:00
Twan van Laarhoven d27193cdd7 Removed old code 2020-06-10 00:24:13 +02:00