Twan van Laarhoven
5d4c3402df
Added fancy mouseover effect to field borders.
...
This might be slow, if this becomes a problem I could add a setting to disable it.
2020-04-25 23:59:56 +02:00
Twan van Laarhoven
37c8641641
Replace scoped_ptr by unique_ptr
2020-04-25 22:28:32 +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
e9456eea86
Fix: refresh list also when changes are made to item 0
2020-04-23 19:59:47 +02:00
Twan van Laarhoven
a585fc40cc
Remove some useless "typedef wxX X"
2020-04-22 23:58:01 +02:00
Twan van Laarhoven
713a9e4a40
Use underscores instead of spaces for all internal names. And renamed some script functions at the same time.
...
* cannocial_name_form now outputs "_", where it used to use " "
* this simplifies reflectio and scripting code, because now C++ names are also MSE internal names
* added 'caption' property to fields. This is used instead of the name in NativeLookEditor, since the latter will now contain underscores.
* renamed text related script functions for consistency, since we were touching that part of the code anyway.
2020-04-22 23:48:26 +02:00
Twan van Laarhoven
25345b86bd
Fix: use radians instead of degrees
2020-04-21 21:42:44 +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
4889f0b7e8
Renamed --export to --export-image
...
Added new --export command line argument for exporting using a scripted/html export template.
2020-04-21 00:01:59 +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
e464327e69
filter ctrl: don't force height
2020-04-18 19:12:52 +02:00
Twan van Laarhoven
efa1db8789
Fix text on about window
2020-04-16 21:03:07 +02:00
Twan van Laarhoven
0706ecae13
Fix wxGTK warnings about GetScrollPos on window without scrollbar
2020-04-16 19:29:46 +02:00
Twan van Laarhoven
40a84687c7
Fixed some gcc warnings
2020-04-16 00:45:43 +02:00
Twan van Laarhoven
12715e3845
Fix sizer: wxGROW+center alignment not allowed
2020-04-10 17:44:03 +02:00
Twan van Laarhoven
482c7103ed
Fix index out of bounds error
2020-04-10 17:27:04 +02:00
Twan van Laarhoven
5700005243
Cleanup: use DoGetBestClientSize
2020-04-10 16:57:21 +02:00
Twan van Laarhoven
25fd7dc079
Fix: separate menu for export from toolbar
2020-04-10 16:56:54 +02:00
Twan van Laarhoven
be9bae942e
Fix empty bitmap issue
...
Fix: invalidate best size cache that is used in newer wxWidgets versions
2020-04-10 16:56:07 +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
Lymia Aluysia
aa39a9bc71
Make PNG the default export format.
2017-01-24 10:49:14 -06:00
Lymia Aluysia
76cf6fc0d6
Suppress libpng errors.
2017-01-18 09:14:17 -06:00
Lymia Aluysia
1d912a6853
Update copyright strings.
2017-01-18 08:52:57 -06:00
Lymia Aluysia
d2c635f739
Change tabs to two spaces.
2017-01-18 08:43:21 -06:00
Lymia Aluysia
241f19c865
Fix compiling/linking on Linux.
2017-01-18 06:35:38 -06:00
Lymia Aluysia
8c960f0c34
Work on compiling on mingw
2017-01-18 04:56:16 -06:00
twanvl
57279bb56e
Always save images as png, fixes #69
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1704 0fc631ac-6414-0410-93d0-97cfa31319b6
2017-01-18 01:05:45 -06:00
Lymia Aluysia
bfcdfa31f3
Fix forward reference error.
2017-01-18 00:42:05 -06:00
twanvl
c2a9aae9ca
about window text
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1650 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-02-05 22:11:23 +00:00
twanvl
6981c4a2b4
minor cleanup for insert symbol menu change
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1649 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-02-03 22:24:37 +00:00
twanvl
f189929158
compatibility with wx2.6 and vc7.1
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1648 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-02-03 21:43:37 +00:00
twanvl
e36f697855
Add 'insert symbol menu' in EVT_MENU_OPEN instead of updateUI, this fixes crash on wxGTK
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1647 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-02-02 23:16:59 +00:00
twanvl
b96e7ad1fb
Added option to disable spacing between printed cards
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1646 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-02-02 21:40:19 +00:00
twanvl
e6dc141339
Don't segfault on errors during construction of ConsolePanel
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1645 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-28 14:12:26 +00:00
twanvl
fa7f25306b
copying messages from console
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1634 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-22 13:15:05 +00:00
twanvl
213817ab34
fix layout problems with blinking tabBar icons in wx2.6/vc7.1
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1633 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 22:01:39 +00:00
twanvl
df32d0e99b
make console panel compile correctly in vc7.1, wx2.6
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1632 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 14:55:42 +00:00
twanvl
c3133d761d
blinker tweaks
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1631 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 14:23:36 +00:00
twanvl
579f180549
blink console panel icon to indicate new errors/warnings/infos
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1630 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 14:11:06 +00:00
twanvl
bd55326c7d
* Added console panel for evaluating scripts and showing error messages.
...
* Rewrite of error queue code: errors are now pulled, instead of being turned into messageboxes automatically.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1629 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 13:26:03 +00:00
twanvl
4079bc26b8
no longer use the "beta" logo, in preparation of 2.0.0 release
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1628 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 13:15:09 +00:00