Commit Graph

89 Commits

Author SHA1 Message Date
GenevensiS 3c2c3ac977 fake stable sort on card list 2026-05-04 07:01:52 +02:00
GenevensiS db1fd4f343 fix copy pasting bugs 2026-05-04 05:27:11 +02:00
GenevensiS 8cc17abecc add card uid map 2026-05-04 02:21:33 +02:00
GenevensiS 9a5be16e4e fix bug with image decoding 2026-05-03 05:03:08 +02:00
GenevensiS c167272ae6 add dependency checks for card.linked_card_x 2026-04-10 02:38:38 +02:00
GenevensiS adccdef933 tweaks an locale updates 2026-02-16 13:49:14 +01:00
GenevensiS 11e506739a linking refactor 2026-02-01 17:39:33 +01:00
GenevensiS 6b1c7488bf ensure image script functions preserve metadata 2026-01-25 15:06:48 +01:00
GenevensiS ef835e6f46 rename script functions 2026-01-19 16:46:54 +01:00
GenevensiS 608de308fd add 200ms delay before starting drag'n'drop 2026-01-07 04:34:08 +01:00
GenevensiS fbf2023848 convert to CRLF line endings 2026-01-05 01:01:18 +01:00
GenevensiS d113e30423 add allow_image_download setting 2026-01-04 17:31:23 +01:00
GenevensiS 8cca7674bd add store_in_metadata image style property 2026-01-04 00:29:00 +01:00
GenevensiS 436c437189 add compiler directives
add compiler directives
2025-12-30 01:18:04 +01:00
GenevensiS 5390a032fc add strikethrough 2025-12-28 16:49:51 +01:00
GenevensiS 5c1b7b9dfc add download_image, refactor import_image 2025-12-28 13:59:23 +01:00
ebbit1q 2d5ec064df Fix compile 2025-12-17 07:01:04 +01:00
GenevensiS 2888dc4059 add bleed edge option, get_card_export_settings function 2025-12-13 20:33:18 +01:00
GenevensiS 2932d0007d Bulk card modification 2025-12-04 15:44:04 +01:00
GenevensiS f22046d77b prevent drag and drop from within the same card list 2025-12-03 17:50:48 +01:00
GenevensiS cf0a84a8a7 Card data in images (minimum viable)
* remove wxEmptyString

* improve style tab carousel

* create web request window

* add drop target and drop source
2025-11-28 10:42:30 +01:00
GenevensiS 513612cd0e Dark mode 2025-10-09 17:57:20 +02:00
GenevensiS 3bf9de18b1 Implement unique IDs and card linking 2025-08-11 16:17:13 +02:00
GenevensiS e45353af9b Add Json importer (#46)
add boost-json to dependencies
2025-06-21 07:53:35 +02:00
GenevensiS 87fbc0e80e Implement CSV / TSV import (#45)
- add csv/tsv importer
- add `make_map` script function
- add `alt name` field property
- add `construction script` field property
- add `construction script` game property
2025-06-09 04:53:33 +02:00
Brendan Hagan 4173d5017b feat: revert hack for time card columns, use scripts instead 2022-06-20 21:06:27 -04:00
Brendan Hagan 15ad48a5be feat: super sloppy way of adding more card list columns (created, modified, notes) 2022-06-15 23:08:33 -04:00
Twan van Laarhoven c7377303cf Make templates localizable (Closes #100) 2020-10-03 14:38:39 +02:00
Twan van Laarhoven a7336d66e1 Card list sorting is now handled per window (closes #71) 2020-06-14 21:43:33 +02:00
Twan van Laarhoven 1fb3f15aff Generate image for disabled toolbar buttons and menu items.
Fixes #13.

Removed IconMenu class, use add_menu_item/add_menu_item_tr instead.
Added _tr variants that automatically do locale translation
2020-05-01 03:26:02 +02:00
Twan van Laarhoven 2e897edbbf Use toSomeType() instead of operator SomeType in ScriptValue.
This means that we are more explicit about type conversions.
Also use override specifiers for overriden virtual functions in ScriptValue.
2020-04-26 17:03:43 +02:00
Twan van Laarhoven bad9981ad9 Cleaned up copyright block.
Removed the year so we don't get tempted to change this ever again.
2020-04-26 01:11:14 +02:00
Twan van Laarhoven 4327abb803 Remove DECLARE_TYPEOF
It is no longer needed since C++11
2020-04-26 00:51:16 +02:00
Twan van Laarhoven 64ea1d7322 Clean up pointer use:
* Use unique_ptr for Actions instead of manual memory management
 * Use unique_ptr in KeywordDatabase
 * Use unique_ptr instead of shared_ptr for file formats
 * Don't pass shared_ptr to Reader/Writer, use references instead
Also
 * Switch to C++17 so we can use map::try_emplace
2020-04-25 22:20:51 +02:00
Twan van Laarhoven 713a9e4a40 Use underscores instead of spaces for all internal names. And renamed some script functions at the same time.
* cannocial_name_form now outputs "_", where it used to use " "
* this simplifies reflectio and scripting code, because now C++ names are also MSE internal names
* added 'caption' property to fields. This is used instead of the name in NativeLookEditor, since the latter will now contain underscores.
* renamed text related script functions for consistency, since we were touching that part of the code anyway.
2020-04-22 23:48:26 +02:00
Lymia Aluysia 1d912a6853 Update copyright strings. 2017-01-18 08:52:57 -06:00
Lymia Aluysia d2c635f739 Change tabs to two spaces. 2017-01-18 08:43:21 -06:00
twanvl befa10125b Fancy theming of ListCtrls: explorer style (windows vista+)
This requires that we ev.Skip() EVT_MOTION, otherwise the list becomes very sluggish to update.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1611 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-10 22:08:17 +00:00
twanvl d9fce86e2b tried explorer style theming of list, doesn't work
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1603 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-09 13:36:20 +00:00
twanvl 0ee420b7b4 compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1544 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:15:28 +00:00
coppro 85854b1bd2 Fix warnings
Semi-fix bug #6 (does not work if the zipfile was loaded from a directory)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1439 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-04 01:46:04 +00:00
coppro cf91f9c43b Update copryright date to 2010.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1438 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 23:33:25 +00:00
coppro b561e22476 Fix crash when dragging card list past end.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1431 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-25 06:30:07 +00:00
coppro b73f081b60 Updated copyright information (2009 + my real name)
MSE now handles opening more gracefully - can handle directories and failures
Changed behavior to always save cards to separate files with intent to add VCS later (note: shouldn't do this for zip, but can't see a good way to approach this)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1388 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-06-19 03:09:05 +00:00
twanvl 6fe82983ed sort card list by identifying column if value in selected column is equal
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1308 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 18:51:12 +00:00
twanvl 3ce35e8b00 Reduced flicker in card list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1202 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-04 11:45:23 +00:00
twanvl 2d2c434bd8 Generated packs can now be selected for printing.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1107 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 21:35:38 +00:00
twanvl de0817099a some provisions for sorting card list by multiple columns
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1037 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 20:34:47 +00:00
twanvl ae14784fd6 Reduce coupling between ValueEditors/Viewers and Set and StyleSheet.
- Adding of actions is done with an addAction function
 - Files are read from
     - getStylePackage for styling stuff (this is stylesheet)
     - getLocalPackage for symbol and image values (this was the set)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@970 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-04 00:21:06 +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