Commit Graph

247 Commits

Author SHA1 Message Date
twanvl 3dd0521c40 MultipleChoiceValueEditor: implemented drop down list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@252 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 19:18:17 +00:00
twanvl 958da421d9 Implemented ContourMask (mask for text fields)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@251 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 18:11:41 +00:00
twanvl 42ab8c84c0 Fixed TextCtrl to work for keyword properties;
Added wrapping of <> around parameters to TextElement;
Added colors for keyword parameters;
Added menu & toolbar for keyword panel;
Fixed bug in package, save/save-as was the wrong way around;
Added third quality setting to RotatedDC: using SetUserScale, this gets you more precise positioning.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@250 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 17:35:00 +00:00
twanvl 1fc7e57b91 added spaces so 'insert symbol' codes are no longer seen as shortcuts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@249 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 13:30:56 +00:00
twanvl 44d23356ef fixed warning 'unexpected key ""' at end of file
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@248 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 19:26:56 +00:00
twanvl d4bae697cd set version number of template files to 0.3.0
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@247 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 19:26:37 +00:00
twanvl 1f8f8ec89d Added statistics icons
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@246 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 19:11:37 +00:00
twanvl e55e5ae806 fixed default value for tr()
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@245 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 18:43:10 +00:00
twanvl 50532c1efd colored casting cost statistics category
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@244 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 18:42:51 +00:00
twanvl f025630b8b Fixed mask for image fields, added mask support to slice window
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@243 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 18:27:05 +00:00
twanvl cb1c0a9afb nicer error messags when aliases don't but should apply
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@242 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 18:23:09 +00:00
twanvl 30b38d6fab Implemented sharpening for image slicer
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@241 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 14:45:59 +00:00
twanvl 0f48513684 symmetric selection handling
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@240 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-25 01:38:09 +00:00
twanvl 3d98bbb870 correct cursor position for formating actions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@239 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-25 00:31:41 +00:00
twanvl d37adbbb94 cursor handling now correct in the precense of <sep> and <atom> (finally)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@238 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-25 00:22:44 +00:00
twanvl 114c03b6e1 improved cursor motion for up/down/home/end; text editor now remembers cursor positions (instead of indices) when applying scripts.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@237 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-24 23:42:33 +00:00
twanvl 135941fb43 non-optional keyword parameters
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@236 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-24 22:17:48 +00:00
twanvl 7deecad835 cleaned up magic keywords; correct drawing of placeholders
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@235 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-24 22:06:15 +00:00
twanvl f1c5a8b974 Fixed Actions for TextCtrl, actions used to apply to the wrong value.
Changed some TABs to spaces in macros, that should end the conflicts because we use different tab sizes (4 vs 8)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@234 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-24 20:27:38 +00:00
twanvl c0eb224386 Icons for file->export
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@233 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-23 22:02:57 +00:00
twanvl 0f8f8a3334 Added 'export all card images' functionality
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@232 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-23 18:37:49 +00:00
coppro 851799d1b6 Fixed some bugs to make GCC work. I needed to change SimpleValueAction to take the function as a variable as opposed to a template parameter - GCC won't accept pointers from a base class in templates.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@231 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-23 00:57:06 +00:00
twanvl 0fbd417057 (partially working) keyword list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@230 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-22 22:50:01 +00:00
twanvl e51af9677b split ItemList from CardList, this class can also be used to list keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@229 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-22 20:23:12 +00:00
twanvl f5de36057c Working MultipleChoiceValueEditor for checklist style
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@228 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-22 15:36:07 +00:00
twanvl 21781a559a localization of symbol editor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@227 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-22 14:27:55 +00:00
twanvl 1bf5af3de4 Scroll wheel in native look editor now scrolls window under cursor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@226 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-22 13:07:39 +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 2a2471fda7 implemented 'default set style', so that doesn't have to be duplicated for each style
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@224 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-22 12:57:10 +00:00
twanvl 3f0c284a50 added scrollbar to NativeLookEditor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@223 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-21 23:40:17 +00:00
twanvl 0c6068d6a2 paritially implemented MultipleChoice viewer/editor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@222 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-21 18:04:09 +00:00
twanvl fddc389e24 More localization
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@221 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-20 18:08:41 +00:00
twanvl 9052636ff9 Addded script functions for exporting, ExportTemplate package type
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@220 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-20 17:21:08 +00:00
twanvl 08ffa143be GUI for changing the locale
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@219 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-20 16:56:22 +00:00
twanvl dcfee659d0 Added some REFLECT_ macros, so the reflection code doesn't have to mess with the internals of reflection.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@218 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 22:45:02 +00:00
twanvl f2ce80d88a Split script/functions.cpp into multiple files in new script/functions/ directory.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@217 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 22:13:27 +00:00
twanvl 2cc6aa5524 Magic Workstation spoiler format export
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@216 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 19:15:29 +00:00
twanvl 332f17e543 minor cleanup of comments and includes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@215 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 15:24:33 +00:00
twanvl e75f63e038 fixed bug with package specific localization.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@214 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 15:23:19 +00:00
twanvl dea0527dc6 resources converted to png
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@213 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 14:53:21 +00:00
twanvl d30e0f7bc5 Added support for informational headings in native look editor.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@212 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 14:50:44 +00:00
twanvl 074ff12816 Keyword parameters in the text are processed, placeholders are inserted
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@211 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-18 01:05:43 +00:00
twanvl 0464f5f7fc The DECLARE_TYPEOF(()) calls don't work in MSVC, I changed it to use a COMMA macro instead of ,
If this doesn't work in GCC, the COMMA definition could be made only for MSVC, then GCC sees DECLARE_TYPEOF(map<int COMMA string>). GCC doesn't need DECLARE_TYPEOF anyway.

Keyword expansion now works, still todo:
 - marking parameters, e.g. "Cycling 2W" -> "Cycling <param-mana>2W</param-mana>"
 - user interface for toggling reminder text
 - user interface for keywords

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@210 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-17 23:58:16 +00:00
coppro 83b6aa36f8 Removed DECLARE_TYPEOF2; replaced with double-parenthesized macro calls. (GCC doesn't accept the other way in all cases.. I don't know whether MSW accepts this way.) Fixed a few resource names.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@209 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-15 23:48:01 +00:00
coppro 41a8c123cf Added a shell script for documentation generation.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@208 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-22 17:44:33 +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 4e88ff8cf0 fixed RemoveControlPointAction
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@206 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-13 22:23:41 +00:00
twanvl 719b893354 automatic foreground/background color detection
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@205 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-13 18:32:21 +00:00
twanvl f855b6a690 some fixes to image import
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@204 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-13 18:17:45 +00:00
twanvl 914f1186f2 Added image to symbol conversion
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@203 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-02-13 18:02:51 +00:00