Commit Graph

555 Commits

Author SHA1 Message Date
twanvl 3d802ed1aa Some more tweaks to rotated+shrunk text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@872 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-19 19:02:29 +00:00
twanvl 9f8b35bfed Fixed shrink(-overflow) for rotated fields
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@871 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-19 17:47:02 +00:00
twanvl e61aed5c6b Names of add/remove card/keyword actions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@868 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 21:10:13 +00:00
twanvl 6215bbd6dc Fixed exporting of symbol font images without text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@866 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 20:30:16 +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 c3a7a350bb Some more margin
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@864 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 20:14:47 +00:00
twanvl e99dd02443 Fixed: keywords no longer apply inside <atom> tags (most notably inside CARDNAME)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@863 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 19:06:01 +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 8d6af1d37a Fixed some bugs from last commit (typo in SCRIPT_PARAM_DEFAULT_C definition)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@858 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 17:53:44 +00:00
twanvl 1a7e689e95 Added break_text function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@857 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 17:27:44 +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 1b516e781f Script support for AColors. All colors in script related code are now AColor.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@852 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 20:51:16 +00:00
twanvl bcfa07a724 Fixed some problems where AColor was not used correctly; documentation of AColor.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@849 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 20:22:39 +00:00
twanvl fdb3bda26e Text drawing now uses an AColor instead of a normal Color, so transparent text is possible.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@848 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 20:07:11 +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
twanvl 36c7e3ef43 Added shadow_blur property to fonts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@846 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 19:26:11 +00:00
twanvl ec174fc2a7 Some more unfinished installer stuff
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@845 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 19:14:35 +00:00
twanvl 34c7a49647 symbol font: moved text_alignment to symbolsInFont
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@842 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-04-14 18:17:00 +00:00
twanvl 989fdb4ad6 symbol fonts:
- fix: pointer was not incremented in recognizePrefix
 - removed merge_numbers, regexes are better

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@841 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-04-14 17:59:17 +00:00
coppro 1b74247914 Allowed symbol fonts to feature multiple symbols with text capability and multiple regex-matched symbols.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@838 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-04-07 23:35:09 +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
twanvl 4defac43ff Added <color:???> and <size:???> tags for changing text color/size
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@831 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-03-24 14:52:42 +00:00
coppro 60b1bb0489 Fixed that stupid user-made keyword precedence bug.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@828 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-02-10 02:14:15 +00:00
coppro 98fe6a4e26 Made the reader capable of skipping blank lines.
Added a bunch of missing byte-order marks.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@827 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-28 04:30:33 +00:00
coppro 75a4adcf57 I have made it so that it is possible to access extra card fields through the script as many, many templates are suffering for no good
reason as a result of them not being scriptable. I understand that the gamme shouldn't be allowed to rely on them, but the styles 
should, and as such, they should definitely be accessible from scripting.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@826 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-22 02:33:25 +00:00
coppro 3ad16e949f Added sorting of words "A", "An", and "The".
Fixed transparency on update arrow.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@820 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-12 18:07:34 +00:00
twanvl cefe0823f7 fixed: reminder text of a keyword can not be disabled if that keyword appears as the start of another word before it.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@818 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-11 21:40:17 +00:00
coppro 489630867c Set svn:ignore.
Updated expected_locale_keys


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@816 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-06 10:39:53 +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 5f9845c167 Fixed AlphaMask::isTransparent
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@809 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-01 18:43:09 +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 17965eea73 Fixed: direction:vertical was putting characters on the next line, causing multi-char symbols to render incorrectly
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@805 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 13:42:29 +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 4602d46203 added desaturate function for making greyed out icons
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@793 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 19:38:09 +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 8d86e4a25c A bit of refactoring:
- common code of ChoiceValueViewer and MultipleChoiceValueViewer put into functions
 - RotatedDC can now draw text with shadow.
 - DECLARE_STYLE_TYPE macro and friends do slightly more.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@788 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:46:40 +00:00
twanvl 2fb7de196e minor improvement of --help message
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@787 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:44:08 +00:00
twanvl 4405863485 Added caching to filter_text script function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@786 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:43:17 +00:00
twanvl dcfac836fa Optimization: removed the conversion via wxImage for downsample_to_alpha (profiling indicated it was a bottleneck)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@784 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-24 03:34:41 +00:00