Commit Graph

578 Commits

Author SHA1 Message Date
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
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 a7ac71e244 set theme border also for StylingEditor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1620 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-18 19:53:33 +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 ade8413507 remove debug hack in IconMenu that accidentally go committed
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1617 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-17 19:49:02 +00:00
twanvl f54d0845f4 also draw wavy lines for errors in nativeLook boxes (i.e. keyword reminder text)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1616 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-16 13:55:22 +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 2874a19701 Use built in sort indicator of ListView control (on windows), wx doesn't provide this, so we do some Win32 programming.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1612 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-10 22:22:48 +00:00
twanvl befa10125b Fancy theming of ListCtrls: explorer style (windows vista+)
This requires that we ev.Skip() EVT_MOTION, otherwise the list becomes very sluggish to update.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1611 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-10 22:08:17 +00:00
twanvl a1b09b1fe1 Don't try to use new rendering of GalleryList, it doesn't work yet
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1608 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-10 18:15:10 +00:00
twanvl a9541de948 enable wxUSE_UXTHEME only on windows, this hopefully fixes the build on linux again
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1607 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-10 18:14:33 +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 a59248ae95 set text color to system foreground color (working on #22: correct use of os theme colors)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1604 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-09 13:37:15 +00:00
twanvl d9fce86e2b tried explorer style theming of list, doesn't work
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1603 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-09 13:36:20 +00:00
twanvl 2acf70aa3c fixed vector subscript out of range error in the Graph control: stacked bar charts ::findItem used incorrect bound
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1601 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-08 21:10:41 +00:00
twanvl 89599c317b fixed possible crash when searching backwards
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1598 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-08 15:49:06 +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 a1f4cd19ee update members of cached dropdown menu, this fixes #13
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1583 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-06 22:37:00 +00:00
twanvl 3a33b07f4e fixed DropDownList in wx2.8: should use wxPopupWindow::Show instead of wxWindow::Show
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1581 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-06 12:51:55 +00:00
twanvl bcaef7eb30 by setting fancy theme thingy just once the problems go away
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1580 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-05 21:30:35 +00:00
twanvl f4afb5676f setting "explorer" style messes with the function of the scrollbar
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1579 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-05 21:26:16 +00:00
twanvl a696a18905 only include ProfilerPanel when profiling is enabled
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1578 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-05 21:19:35 +00:00
twanvl a87eab540b Reverted DropDownList back to wxPopupWindow from wxPopupTransientWindow. The latter is not going to work, because it tries to be too smart. In particular, it thinks the mouse clicks outside the dialog when the scrollbar is clicked, and dismisses the popup. It also requires a mouse capture, which gives problems when submenus are used.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1574 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-31 19:38:52 +00:00
twanvl 8e18d21b3c More attempts to fix the DropDownList,
this design using wxPopupTransientWindow is probably not going to work, I should revert to the old version.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1573 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-31 15:59:10 +00:00
twanvl 29c0dca669 fixes of transient popup dialogs, still not perfect, but getting there:
* fixed: popup didn't work when editor didn't have focus
* fixed: dimissal by losing focus didn't repaint dropdown arrows

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1572 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-30 23:47:36 +00:00
twanvl 31377629c8 attempt to reduce flicker by override EVT_ERASE_BACKGROUND
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1571 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-30 23:32:43 +00:00
twanvl 05b753c7a1 use wxPopupTransientWindow::Dismiss instead of Show(false), otherwise handlers are no uninstalled and we get an assertion failure.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1570 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-30 22:04:35 +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 809d9b747a Added some ifdefs around the vc9 fixes so that mse still compiles with msvc7 and wxWidget 2.6
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1568 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-30 16:50:20 +00:00
twanvl 70471251e4 draw fancy windows explorer style selection rectangles
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1567 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 23:01:19 +00:00
twanvl 46bb971350 use native themed push buttons
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1566 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 22:38:12 +00:00