Commit Graph

233 Commits

Author SHA1 Message Date
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
Lymia Aluysia aa39a9bc71 Make PNG the default export format. 2017-01-24 10:49:14 -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 bfcdfa31f3 Fix forward reference error. 2017-01-18 00:42:05 -06: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 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 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 65b3b80af6 added some margins to "collapse notes" label
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1625 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 11:42:39 +00:00
twanvl 35c0fe4ca5 task dialog only works on new windows versions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1619 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-17 21:41:28 +00:00
twanvl d217349148 Added filter box for keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1615 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-16 13:34:50 +00:00
twanvl e74f883345 Use TaskDialog (windows vista+) for asking to save the set
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1614 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-12 21:15:53 +00:00
twanvl 53bbcfe9a9 Be explicit about type of angles: either Radians or Degrees.
Angles are always doubles.
Internally use radians as much as possible.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1605 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-09 14:49:59 +00:00
twanvl 08914410f6 Removed wxTB_NODIVIDER style again
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1589 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-07 20:02:29 +00:00
twanvl af9448e24a escape key clears card filter box
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1588 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-07 19:59:14 +00:00
twanvl 5c218336f0 no menu item for profiler when it is disabled
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1584 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-07 19:19:52 +00:00
twanvl 3c49eb1889 fixed crash upon opening of random pack panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1569 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-30 17:07:54 +00:00
twanvl d5f8d29363 compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1543 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:15:15 +00:00
twanvl 61467fa363 added window showing profiler statistics
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1532 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:07:55 +00:00
coppro 285fed3dbd Fix some overload issues with wxWidgets.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1506 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-30 21:44:17 +00:00
twanvl be922940a2 Added a "quick search" box for filtering the card list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1483 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 21:52:26 +00:00
twanvl 4532fade77 Removed old random pack code. It was already disabled by the USE_NEW_PACK_SYSTEM flag.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1482 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 15:48:42 +00:00
twanvl 07d4e8619b gif export is not supported by wxWidgets
This 'fixes' #18 by just removing the option to export .gif files

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1447 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:35:59 +00:00
twanvl 70fb9d612b Fix #19: Colon in Name Prevents Opening Save Dialog
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1446 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:12:49 +00:00
twanvl 51dfed69b4 Instead of the new_intrusive<T>() functions, use intrusive(new T)
This means we no longer need 8 different functions for different numbers of arguments, and non-const references can now also be passed to constructors without problems.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1443 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 14:32:28 +00:00
coppro 85854b1bd2 Fix warnings
Semi-fix bug #6 (does not work if the zipfile was loaded from a directory)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1439 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-04 01:46:04 +00:00
coppro cf91f9c43b Update copryright date to 2010.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1438 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 23:33:25 +00:00
coppro 7af4cd4bd0 Lots of miscellaneous fixes, also added basic VCS framework
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1416 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-01 22:34:04 +00:00
coppro b73f081b60 Updated copyright information (2009 + my real name)
MSE now handles opening more gracefully - can handle directories and failures
Changed behavior to always save cards to separate files with intent to add VCS later (note: shouldn't do this for zip, but can't see a good way to approach this)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1388 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-06-19 03:09:05 +00:00
coppro 4c9f3afb05 MSE can now save cards in separate files (needs manual config editing still).
Trailing slashes are stripped from commandline arguments (because directory.mse-set/ should be accepted)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1386 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-06-18 02:18:23 +00:00
coppro 87b45df71d Updated linux installer; minor semantic bug affecting 64-bit builds
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1373 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-03-02 23:29:38 +00:00
twanvl 8b9c2b4064 while it is still possible: renamed select:cyclic to select:equal.
Added "equal proportional" and "equal nonempty" for symmetry.
select:equal now takes weights into account.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1342 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 01:36:17 +00:00
twanvl c98f8245d8 init pack total control before setting sizer, so CustomPackDialog gets the right size
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1332 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 02:45:18 +00:00