Commit Graph

29 Commits

Author SHA1 Message Date
twanvl 74c95552e7 always update the scrollbar when update()ing a GalleryList, otherwise the scrollbar is not set correctly on the new set window.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1270 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 16:08:38 +00:00
twanvl 81280467d5 fixed typo in for loop that could cause a crash on the stats panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1254 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:13:37 +00:00
twanvl 1691efd6d5 card viewers/editors inherit from wxPanel;
GallertList doesn't call select() from onSize

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1139 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 14:04:00 +00:00
twanvl 5fddaa3715 Multicolumn support (major level) for gallery list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1137 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 12:21:38 +00:00
twanvl 351d5b7613 renamed GalleryList member column -> subcolumn, so we can have proper columns later on as well.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1134 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 11:56:35 +00:00
twanvl dd80a51e96 tweaks to dimension list control
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1048 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 14:15:07 +00:00
twanvl bca66f54b9 All three dimensions on stats panel in a single multicolumn list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1040 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 15:51:47 +00:00
twanvl 76c71e5800 Catch all exceptions in onPaint functions, because otherwise we show a message box. Message boxes while in a paint handler lead to a crash on win32.
Made a CATCH_ALL_ERRORS macro containing the common catch statements.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1034 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 17:04:30 +00:00
coppro ebe26e0444 Minor updates that make things work!
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@945 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-02 02:36:56 +00:00
twanvl 4c48049453 Fixed: 'Enter' to accept choice in new set dialog box doesn't work.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@861 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 18:36:48 +00:00
coppro 26562e03e3 Updated copyright information - added my name and also changed 2007 to 2008
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@837 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-04-06 18:16:32 +00:00
coppro 692ff43573 Compatibility updates step 1.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@815 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-05 22:37:22 +00:00
twanvl d2196eea09 Finally got precompiled headers to work.
Now all C++ files need to #include <util/prec.hpp>
 That is why all .cpp files are touched by this commit

Many changes to installers and update checking:
     - the window is now called PackagesWindow, in a new source file
     - update checking is now independent from the PackagesWindow. For update checking only a list of package versions are needed (vector<PackageDependency>). This is much less information to download at each startup.
     - the list of available packages is now a list of available Installers, since an installer can contain multiple packages.
     - moved the logic of dependency checking etc. to data/installer
     - moved the actual installation to util/io/package_manager
     - moved directory iteration/creation logic to util/file_utils
     - added PackageDirectory: the local and global package directory now have their own object (was part of PackageManager)
     - added PackageVersion: for detecting if a package has been modified after it was installed.
     - added PackageDescription: description/header of a package. Basicly the same as what Packaged provides.
     - added DownloadableInstaller: where to find an insaller, what does it contain?
     - added InstallablePackage: brining it all together: installer, package, status, action.

Current status: the insaller is currently broken in a few places, more on that soon.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@792 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 18:30:41 +00:00
twanvl 07de34640e Improved scrolling behavior of GalleryList
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@779 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-22 18:18:18 +00:00
twanvl 100d48b5a7 Improvements to keyboard handling (TAB)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@660 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-02 01:03:37 +00:00
twanvl 790e55a35c Fixed 'use zoom and rotation settings when exporting';
Fixed: enabled was not used for default symbol in symbol font;

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@640 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 22:35:49 +00:00
twanvl a2e709d86b It is 2007 by now
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@275 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 17:06:29 +00:00
twanvl 2c2bf88a40 redraw on resize
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@225 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-22 13:07:17 +00:00
twanvl 0c66191ab3 Changed all resources to .png files;
Added 'snap to grid' to symbol editor

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@207 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-16 00:07:14 +00:00
twanvl e83c00c05a Changed scroll size of PackageList;
Added 'collapse' option for card notes;
Made variant of  DECLARE_TYPEOF for maps (two template arguments).

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@202 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-08 22:15:11 +00:00
coppro 3c4790cac9 Fixed many resource file names, removed raw-char matches input-char requirement for Linux operation.
WARNING: This version is unstable. High possibility of encountering a complete processor lockup (likely an infinite loop).

Known bugs on Linux: Some fields are being drawn off-target (such as text) and they need to be fixed in order to allow compatibility. Different style files on different platforms would not be a good idea. The combined-editors are not working. When a text-replacement is made via "~", the cursor is placed before it and attempting to remove or select it causes a lockup. Symbol editor seems to be working fine. The symbol selection dialog causes a crash when used.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@194 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-02 04:23:35 +00:00
twanvl 3d9181e5f6 Eliminated most build errors (gcc,linux,wxGTK).
What is left is mostly:
 - warning: converting double to int
     -> add a cast/to_int or ignore
 - wrong initialization order in ctor
     -> just swap the order to match the class
 - errors about wxCursors
     -> add a function loadResourceCursor


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@183 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-29 00:04:20 +00:00
twanvl ed8f96ec50 forgot initialization, fixed
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@162 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 13:35:52 +00:00
twanvl 0a916f89bc Added value actions for common value types; drop down list is now correctly aligned
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@92 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-11-24 16:36:17 +00:00
twanvl b6f1a9aac7 Added Statistics dimension/categories
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@84 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-11-20 22:13:52 +00:00
twanvl 1836cf4de9 Added color utilities; implemented more of Graph related classes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@76 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-11-19 20:56:51 +00:00
twanvl 2dd93a91fb implemented SymbolFilter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@70 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-10-31 17:58:29 +00:00
twanvl 46cf4dbb64 Implemented NewSetWindow, added events to GalleryList
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@48 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-10-20 20:02:30 +00:00
twanvl 7504e0540f new kick-ass package gallery
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@22 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-10-13 21:31:13 +00:00