Commit Graph

123 Commits

Author SHA1 Message Date
GenevensiS e461eed88f Merge pull request #25 from G-e-n-e-v-e-n-s-i-S/get-card-stylesheet
Add get_card_stylesheet script function
2024-10-04 23:13:47 +02:00
GenevensiS e9c6dbb05f add docs 2024-10-04 23:09:05 +02:00
GenevensiS ecb48aebf0 Add get_card_stylesheet script function 2024-10-04 22:41:06 +02:00
GenevensiS 39dbdf1ab2 Merge pull request #18 from G-e-n-e-v-e-n-s-i-S/file-exists
Add exists_in_package script function
2024-09-26 15:22:15 +02:00
GenevensiS 28dd64ddeb Update index.txt 2024-09-17 06:30:17 +02:00
GenevensiS 4054443a72 add exists_in_package script function 2024-09-17 06:13:01 +02:00
GenevensiS 9b34ae5446 add get_card_styling function for export scripts 2024-09-16 08:59:55 +02:00
Djack Donovan d1bac74eb9 Script: to_date accepts "now" as an argument
indentation fix
2022-11-18 21:40:12 -05:00
Brendan Hagan d1d63fb21f misc: doc updates for exposed variables 2022-07-14 19:50:30 -04:00
Brendan Hagan 52a918be39 misc: remove extra_data function 2022-07-14 17:33:22 -04:00
Brendan Hagan 4f6c984f48 misc: extra_data doc entry 2022-07-01 20:51:17 -04:00
Twan van Laarhoven c7377303cf Make templates localizable (Closes #100) 2020-10-03 14:38:39 +02:00
Twan van Laarhoven ab4e7e59f3 Margin top in <margin> tag 2020-05-17 22:52:56 +02:00
Twan van Laarhoven 2b7bd252e4 Added <li>, <margin> and <align> tags 2020-05-14 21:32:22 +02:00
Twan van Laarhoven 6d4d973645 Add support for HTML style hex colors, #ff0000 = red, etc. 2020-05-12 22:48:56 +02:00
Twan van Laarhoven dbb6d34bb3 Add <font:$family> tag, closes #24 2020-05-12 22:30:04 +02:00
Twan van Laarhoven e8eacac5e7 Expose more information about text layout. 2020-05-10 14:16:10 +02:00
Twan van Laarhoven 420c329bc4 Added "case-of" control structure 2020-05-09 18:41:30 +02:00
Twan van Laarhoven 4bebd48786 Moved tab_index to Style (instead of Field), it makes more sense there, since it pertains to the layout of stuff on the card.
Also don't precalculate list of fields sorted by tab order, just find the next/previous ones on the fly.
2020-04-26 02:16:39 +02:00
Twan van Laarhoven 7d06e903a4 Rename script function rotate -> rotate_image 2020-04-25 23:46:30 +02:00
Twan van Laarhoven 8f8e2cea65 Expose the 'warning' function, and added a similar 'error' function.
Add documentation.
2020-04-23 20:22:43 +02:00
Twan van Laarhoven 24f4b4edba Add type_name function to query the type of a value 2020-04-18 22:03:25 +02:00
twanvl 968f557511 recolor_image function can now be used with custom colors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1477 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:44:44 +00:00
twanvl 6bfe384fb6 images for recolor_image documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1476 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:25:55 +00:00
twanvl e01b24aa63 Added 'recolor_image' function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1473 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:19:05 +00:00
twanvl ca0e762b64 New image functions:
* invert
 * flip_horizontal
 * flip_vertical
 * rotate

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1472 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:56:45 +00:00
twanvl 17c766c8fc documented "to_image"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1467 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 13:48:02 +00:00
twanvl ff26cb0a4b fix some tables and links
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1466 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 01:52:10 +00:00
twanvl 0625cd0aff Short-circuiting "and" and "or" operators
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1461 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-23 23:52:34 +00:00
twanvl ebf2e4c079 documented the time_created and time_modified members of Card
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1349 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:39 +00:00
twanvl ad5e22e7c5 Added script support for wxDateTime values:
- added ScriptDateTime type
 - added to_date function
 - added date formating support to to_string.
 - documented all of the above.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1348 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:07 +00:00
twanvl 1ae654082d documented new pack system.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1343 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 01:38:58 +00:00
twanvl 794587d983 multiple choice style . alignment, direction are now scriptable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1301 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 15:21:39 +00:00
twanvl 6afbbe986c more documentation spellchecking,
in documentation: @<tag>@ now highlights as a tag

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1279 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 21:22:45 +00:00
twanvl bd2edc947f documented check_spelling function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1278 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 21:19:28 +00:00
twanvl 664c12ec52 spellchecking the documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1277 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 20:39:30 +00:00
twanvl e423b6956f documented the split_text script function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1255 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:39:20 +00:00
twanvl 003af8bed6 add note saying that alignment type has changed
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1252 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 19:22:44 +00:00
twanvl fee64d283f Cleaned up the Alignment type, it is now much more orthogonal.
Changed the behavior of justifying:
 - by default justify words instead of characters
 - only justify before soft line breaks, unless "alignment: force justify" is used.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1251 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 19:17:55 +00:00
twanvl 156e592636 made padding and line height scriptable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1249 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 17:40:17 +00:00
twanvl f62bc25e66 documentation typo: masked_blend != linear_blend
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1221 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-10-13 17:56:35 +00:00
twanvl 9c9a2aec61 Added note that in_context is slow
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1195 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 14:39:00 +00:00
twanvl 56463a8806 Added empty_name to PackageChoiceField;
Package choice fields now reflect in scripts as "/:NO-WARN-DEP:packagename". This suppresses warnings when loading files in that package or using the package as a symbol font.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1187 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 19:42:30 +00:00
twanvl a2af3211a4 Moved mask to Style and mask related drawing to ValueViewer.
Used the same mask also for TextStyles.
To keep the text selectable (since the mask is now also used for containsPoint), the future sight cost masks needed to be updated.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1183 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 23:49:12 +00:00
twanvl 9abfdd171c added "for each k:v in .. do .." statement
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1174 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 13:06:24 +00:00
twanvl f510a35647 typo in documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1173 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 11:58:29 +00:00
twanvl 2eb40f9503 documentation: write_set_file is new in 0.3.8
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1170 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 19:49:56 +00:00
twanvl 42d40dbd1e Added Package::saveCopy, which is used to implement the write_set_file script function.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1169 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 19:48:51 +00:00
twanvl c8fb341e1a Fixed random_int and random_real functions; added random_boolean.
Split random_select into random_select and random_select_many.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1161 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:08:13 +00:00
twanvl fe5878e3d8 Documented add cards scripts and the new_card function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1149 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 21:10:59 +00:00