Commit Graph

370 Commits

Author SHA1 Message Date
twanvl 91add608cc Informational tooltips in the graph control
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@943 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 20:03:52 +00:00
twanvl 0e00cefdb9 Softer colors in graphs, the border of bars etc. is now lerp(black,fill,0.5) instead of just pure black.
Also tweaked the magic card_color graph colors a bit

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@935 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 14:23:45 +00:00
twanvl cdbcb184ae Default graph type should be bar
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@934 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 12:50:42 +00:00
twanvl 336726b16b The keyword reminder text box now tries to run the script to see if it contains errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@932 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 01:29:13 +00:00
twanvl 5b47f6f498 Improved position reporting of script errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@931 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 01:07:45 +00:00
twanvl 7845b9ef81 clipboard support on StylePanel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@929 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 00:40:46 +00:00
twanvl 1bab5f609d Some more graph tweaks
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@928 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 00:31:57 +00:00
twanvl 3287ace29d Fixed crash in cursor movement
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@925 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 00:02:02 +00:00
twanvl 11c1b7e4dc off by one in mean calculation in Graph
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@923 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 22:49:19 +00:00
twanvl 04bc58275b A box with the mean value in bar graphs.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@918 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 21:49:33 +00:00
twanvl 08c0df0d6d Some tweaks of pie graphs
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@916 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 20:51:09 +00:00
twanvl 0c74f09543 Clear selection when selecting card using another cardlist (i.e. on stats panel)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@915 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 20:33:50 +00:00
twanvl 78e154c481 Added toolbar and menu for switching between graph layouts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@914 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 20:15:21 +00:00
twanvl 50fe805657 Installed packages will be blessed.
For now, everything is considered blessed, because we are not yet using installers everywhere.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@912 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 18:33:23 +00:00
twanvl 282ac72502 Warn about removing packages
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@911 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 17:55:18 +00:00
twanvl 7a38986171 Installing and removing packages from an installer now WORKS
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@908 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 16:42:15 +00:00
twanvl f3ff6f22ae Renamed global PackageManager object to package_manager to reduce confusion
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@907 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 14:45:04 +00:00
twanvl c8d8d72abc PackagesWindow can show just the packages from an installer.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@905 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 14:36:23 +00:00
twanvl 9c18ed51e2 Put PackageUpdateList into its own file
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@904 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 14:02:53 +00:00
twanvl a31f039d01 Disabled "check updates" button on welcome window; also fixed transparency of check updates image
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@903 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 12:58:31 +00:00
twanvl d80c5e60a4 Just commenting
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@902 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 12:57:32 +00:00
twanvl 03cc925b67 Fixed warnings about locale
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@895 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 20:06:20 +00:00
twanvl 4ad3ea8188 Added the old update checker again (with #ifdef)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@892 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 19:34:21 +00:00
twanvl a1e968b305 restored old style stats panel (with an #ifdef)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@891 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 18:45:33 +00:00
twanvl 674fa1a32a Selection in cardlist is correctly moved when changes are made;
cuting/copying/pasting/deleting multiple cards now works.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@888 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 18:13:56 +00:00
twanvl 9eaebcbcdd Tweaked cursor movement a bit
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@882 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-25 16:39:04 +00:00
twanvl 47e37d8778 Fixed clicking in multiple choice checklist boxes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@881 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-25 14:14:51 +00:00
twanvl b8b2632baa Fixed: Text sometimes overflows out of text fields, such as comments areas, reminder text areas, and rules text areas:
added a clipping region when in native look

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@865 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 20:15:38 +00:00
twanvl d94b2f688b Fixed crash in TextCtrl;
No longer ask to save set when it is still open in another window.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@862 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 18:59:55 +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
twanvl 9a72bf6ac1 Fixed keyword list after yesterdays multi select stuff
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@860 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 18:00:25 +00:00
twanvl 51ad215c54 Copy/pasting multiple cards
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@859 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 17:56:33 +00:00
twanvl c666e98645 Allow multiple cards to be selected in a card list,
Allow card actions to add/remove multiple cards.
not yet: actually use these multicard actions.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@853 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-17 01:51:50 +00:00
twanvl d70c3d6d74 Moved the AColor type to a gfx/ header, so other code can use it.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@847 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 19:49:14 +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 e6f466933d More warnings/minor fixes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@836 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-04-06 18:08: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 ed060aeb04 nicer options for defaults in localization tr() functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@808 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-01 16:06:58 +00:00
twanvl 5fc06663b1 Added icon for MSE in packages window;
Added resample(image,width,height), instead of always passing in images

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@806 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 23:48:26 +00:00
twanvl abf4da9cff Fixed: rotation adjust code was overwriting scripts;
Fixed: positioning of stretched + rotated text

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@802 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 01:53:41 +00:00
twanvl 796975bd9d Added saturate script function (+documentation), it also desaturates
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@800 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 00:48:39 +00:00
twanvl 3ceec52c1c - no longer try to draw fields with huge or negative size
- download icons of packages

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@799 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 23:51:19 +00:00
twanvl e49f2eebcb fixed: errors in templates could cause program to hang/crash
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@796 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 21:12:11 +00:00
twanvl eed8ba4274 PACKAGE_INSTALL now stands for both installation and upgrades
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@795 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 20:46:00 +00:00
twanvl eba28b64d3 Now actually downloads a list of installers.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@794 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 19:53:16 +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 d493394519 - Added 'package list' field type
- Some refactoring of the other field types

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@790 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 23:37:45 +00:00
twanvl 547a48b98d - Optimization: common parameters to built in functions are no longer looked up as a string at each call, instead their integer ids are global constants
- Optimization: some other minor tweaks.
 - Nicer --help message

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@783 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-24 02:04:45 +00:00
twanvl b79f52db84 New rotation system (see forum thread).
Major changes:
  - when rotating, the top left corner of the rectangle stays in place.
  - ValueViewers get a dc that is pre-rotated/translated for them, i.e. (0,0) is the top-left of the viewer (with ValueViewer::getRotation).
  - moved 'angle' from individual Styles to the Style base class.
  - any rotation angle is now possible. angle is still an int for now.

This warrants a version bump

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@782 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-23 21:58:58 +00:00
twanvl 94e4a1ce9e Category selection in statistics panel now goes using a separate list for each dimension.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@781 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-23 21:49:48 +00:00