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
Brendan Hagan
132d8d9351
feat: add underline to panels and export
2022-07-26 22:37:57 -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
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
70dec7eff4
fix: correct viewer rotation direction ( fixes #9 )
2022-07-08 21:43:02 -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
31c2cbd54f
feat: apply filtering to style list on "style" panel
2022-06-20 20:46:06 -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
f9d18ac3c8
Fix potential crash when there are errors in a statistics script
2020-06-01 14:11:40 +02:00
Twan van Laarhoven
221a8e99e5
Fix #55
2020-05-25 22:13:12 +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
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
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
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
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
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
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
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
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
af7e8c9d39
Switch (back) to our own Color type instead of using wxColour.
...
The reason is that wxColour's default constructor creates an invalid color (what is that even?). It is nicer to just have default be transparent.
2020-04-26 21:41:35 +02:00
Twan van Laarhoven
2e897edbbf
Use toSomeType() instead of operator SomeType in ScriptValue.
...
This means that we are more explicit about type conversions.
Also use override specifiers for overriden virtual functions in ScriptValue.
2020-04-26 17:03:43 +02:00
Twan van Laarhoven
54a3cbfde3
Replace include guards by #pragma once
2020-04-26 01:25:16 +02:00
Twan van Laarhoven
bad9981ad9
Cleaned up copyright block.
...
Removed the year so we don't get tempted to change this ever again.
2020-04-26 01:11:14 +02:00
Twan van Laarhoven
4327abb803
Remove DECLARE_TYPEOF
...
It is no longer needed since C++11
2020-04-26 00:51:16 +02:00
Twan van Laarhoven
5e92d9455c
Code cleanup: remove messy spaces before line continuation (\) in macros
2020-04-26 00:37:13 +02:00
Twan van Laarhoven
b7ed93cd02
Remove dependency on boost::random, since that is now in std
2020-04-25 22:22:15 +02:00
Twan van Laarhoven
0d42df1537
Fix type conversion errors in GCC/wxGTK
2020-04-25 22:20:51 +02:00
Twan van Laarhoven
64ea1d7322
Clean up pointer use:
...
* Use unique_ptr for Actions instead of manual memory management
* Use unique_ptr in KeywordDatabase
* Use unique_ptr instead of shared_ptr for file formats
* Don't pass shared_ptr to Reader/Writer, use references instead
Also
* Switch to C++17 so we can use map::try_emplace
2020-04-25 22:20:51 +02:00
Twan van Laarhoven
708b4389a0
Use make_intrusive/make_shared for smart pointer construction.
2020-04-25 22:20:51 +02:00
Twan van Laarhoven
4258ce1c6c
Remove AColor class, because wxColour now supports alpha values.
2020-04-25 22:20:50 +02:00
Twan van Laarhoven
0ca2c70310
Add keyboard navigation and history to console panel.
2020-04-23 22:02:13 +02:00
Twan van Laarhoven
257c82ed90
Tweak spacing on keywords panel
2020-04-23 21:20:40 +02:00
Twan van Laarhoven
a585fc40cc
Remove some useless "typedef wxX X"
2020-04-22 23:58:01 +02:00
Twan van Laarhoven
39f504ad90
Sstrip special characters from set name before showing save file dialog
2020-04-21 01:13:11 +02:00
Twan van Laarhoven
294c12b180
Remove space below tab bar, it has repaint issues and wastes space
2020-04-21 01:04:58 +02:00
Twan van Laarhoven
e72909f430
Remember contents of filter control when switching tabs
2020-04-21 00:10:17 +02:00
Twan van Laarhoven
1c9139a490
Console panel sets "card" variable to selected card
2020-04-18 21:44:02 +02:00
Twan van Laarhoven
25fd7dc079
Fix: separate menu for export from toolbar
2020-04-10 16:56:54 +02:00
Twan van Laarhoven
9e6cfe9b7e
Fix: wxFlexGridSizer doesn't like center alignment with wxEXPAND
2020-04-10 14:46:53 +02:00
Twan van Laarhoven
35a89676b4
CMake file
...
Update to C++ 11: std::shared_ptr, for each loops
Update to wxWidgets 3.0+
2020-04-08 01:10:01 +02:00