Twan van Laarhoven
92118f8bf1
Updated about window: added license info and updated author list
2020-06-10 00:16:23 +02:00
Twan van Laarhoven
c22fd8b708
fix: return statement in all control paths
2020-06-01 22:29:04 +02:00
Twan van Laarhoven
02933aecf9
Fix gcc build
2020-06-01 14:54:41 +02:00
Twan van Laarhoven
f9d18ac3c8
Fix potential crash when there are errors in a statistics script
2020-06-01 14:11:40 +02:00
Twan van Laarhoven
7952a889c9
Call ev.Skip() for unhandled char events in card editor. Fixes #65 (and maybe also #53 )
2020-06-01 13:47:44 +02:00
Twan van Laarhoven
36c1c2541a
Fix height of multi line text boxes and TextCtrls
2020-06-01 13:33:53 +02:00
Twan van Laarhoven
4ff603d413
Allow ValueViewers to have a bounding box different from the Style's. This closes #64 .
2020-06-01 01:18:13 +02:00
Twan van Laarhoven
e9305c7554
Use smart pointer
2020-05-31 16:16:34 +02:00
Twan van Laarhoven
1f75175943
Cleanup: rename ValueViewer::viewer -> parent; store CardP in ValueAction
2020-05-31 16:07:13 +02:00
Twan van Laarhoven
221a8e99e5
Fix #55
2020-05-25 22:13:12 +02:00
Twan van Laarhoven
e570fa8346
Disable scrollbars for dropdown lists. wxGTK doesn't support them at all, we would have to do it manually. For now disabling scrolling mostly fixes #51
2020-05-23 14:58:54 +02:00
Twan van Laarhoven
d97cfce85d
Fix #50
2020-05-23 12:46:21 +02:00
Twan van Laarhoven
4ed586ddfe
Fix crash in 64 bit build, because size_t can't be used with a %d format string
2020-05-22 19:45:18 +02:00
Twan van Laarhoven
9922e39feb
Fix locale errors
2020-05-22 19:02:31 +02:00
Twan van Laarhoven
8192bd9613
fix: don't use cannonical name form when generating choice images, use it only for indexing
2020-05-22 16:17:33 +02:00
Twan van Laarhoven
c9c7a958ae
Add exception handlers in places where scripts are invoked. This should lead to slightly nicer error messages.
2020-05-22 00:30:18 +02:00
Twan van Laarhoven
8b91cd8804
Message box when there are exceptions when creating a set, because there is no console yet
2020-05-22 00:26:51 +02:00
Twan van Laarhoven
09139128e1
Fix in_tag and is_tag calls, fixes #47
2020-05-19 22:59:38 +02:00
Twan van Laarhoven
424fd96185
Add help text to the card/keyword filter boxes
2020-05-16 14:16:32 +02:00
Twan van Laarhoven
92fbb9ea10
Remove erase background event handlers, in favor of SetBackgroundStyle.
2020-05-16 01:56:17 +02:00
Twan van Laarhoven
dbe6fbd33b
cleanup: child class doesn't need to be public
2020-05-16 00:58:44 +02:00
Twan van Laarhoven
32f28747f0
cleanup indentation
2020-05-16 00:56:11 +02:00
Twan van Laarhoven
5deaeeeb3e
Cleanup: use override specifier everywhere, and enable gcc warning to check for it.
2020-05-16 00:23:18 +02:00
Twan van Laarhoven
a7c47729c1
Clean up old style angle brackets in nested templates
2020-05-15 02:15:58 +02:00
Twan van Laarhoven
3ea5ea9573
Fix missing carret in card filter box
...
Add Ctrl+K as a shortcut for card/keyword filter
2020-05-15 02:08:55 +02:00
Twan van Laarhoven
0c3712b61a
Cleanup: indentation of public/protected/private keywords
2020-05-12 21:57:37 +02:00
Twan van Laarhoven
48dcdb8e59
Don't throw an exception when failing to load spellchecker file, instead show warning and continue.
...
Mitigates #25 somewhat
2020-05-12 18:59:33 +02:00
Twan van Laarhoven
e7d0a2106d
Fixed warnings
2020-05-12 17:49:42 +02:00
Twan van Laarhoven
bc53730091
Update scrollbar on resize (and on startup)
2020-05-12 02:07:42 +02:00
Twan van Laarhoven
d90b73101b
Implement scrolling ourselfs rather than relying on wxScrolledWindow
2020-05-10 17:05:31 +02:00
Twan van Laarhoven
99b8a31da0
(indentation)
2020-05-10 17:05:01 +02:00
Twan van Laarhoven
968b8eabca
Add "Save as directory"
2020-05-09 13:26:33 +02:00
Twan van Laarhoven
2d171732a0
Add Select All functionality, closes #19
2020-05-08 02:19:04 +02:00
Twan van Laarhoven
8b25815f72
Re-enabled intrusive_ptr
2020-05-07 22:25:02 +02:00
Twan van Laarhoven
e005d47d56
Use std::enable_shared_from_this instead of thisP parameters.
2020-05-06 22:59:10 +02:00
Twan van Laarhoven
b4435e5e57
Themed checkboxes
...
Slightly larger items in (multiple) choice viewers
2020-05-06 02:47:02 +02:00
Twan van Laarhoven
6161feefc5
Don't use text cursor when hovering over labels in native look editor
2020-05-05 23:23:09 +02:00
Twan van Laarhoven
30401964d5
Fix #10 : find/replace was broken after tab index change.
...
Also: improve tab order to get a total order
2020-05-05 22:41:32 +02:00
Twan van Laarhoven
cfd19220d5
Use unique_ptr
2020-05-05 22:36:00 +02:00
Twan van Laarhoven
177cc25487
Don't use wxToolBarToolBase::AddDropdownMenu, it is not supposed to be used and might not work in some ports.
2020-05-04 13:22:05 +02:00
Twan van Laarhoven
07fe2406e7
Don't allocate wxToolBarToolBase, that can lead to memory corruption and two days of debugging.
2020-05-04 00:43:58 +02:00
Twan van Laarhoven
6c4277bd35
Fix #15 , menu and toolbar icons on wxGTK
2020-05-01 12:55:43 +02:00
Twan van Laarhoven
1fb3f15aff
Generate image for disabled toolbar buttons and menu items.
...
Fixes #13 .
Removed IconMenu class, use add_menu_item/add_menu_item_tr instead.
Added _tr variants that automatically do locale translation
2020-05-01 03:26:02 +02:00
Twan van Laarhoven
8468c5bd93
Fix #9 : Don't use wxWidgets' best size calculation for card and keyword lists.
2020-04-30 21:11:43 +02:00
Twan van Laarhoven
77e2ff8fd7
Fix #11 : Gallery list best size: Invalidate cache and don't use DoGetBestClientSize
...
Revert "Cleanup: use DoGetBestClientSize"
This reverts commit 5700005243 .
DoGetBestClient size is a nice idea, but it doesn't take scrollbars into account.
2020-04-30 20:35:12 +02:00
Twan van Laarhoven
e74774138c
Fix warnings and linker errors on gcc
2020-04-30 14:25:28 +02:00
Twan van Laarhoven
a1d54f36fc
Use LocalFileName class for file names inside a package.
2020-04-30 00:20:32 +02:00
Twan van Laarhoven
f92c09e87a
Disable hover effect on field borders for now (it causes redraw issues on some templates)
2020-04-29 21:29:01 +02:00
Twan van Laarhoven
d64dee7834
Fix: images were not being loaded from zip files.
...
wxImage::LoadFile requires the file to be seekable to peek at the header.
We work around this by buffering the header in a wrapper class.
2020-04-28 22:46:34 +02:00
Twan van Laarhoven
fd6f91e756
Warning instead of error for incorrect word-lists
2020-04-27 18:11:06 +02:00