Commit Graph

189 Commits

Author SHA1 Message Date
twanvl 51546ca2d8 Changed resource names to be lowercase, and to match the filenames (or what they should be);
Replaced all direct construction of bitmaps and icons using wxBitmap("name") with load_resource_* calls.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@191 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-30 18:29:02 +00:00
twanvl 315af1f14a Changes to make it work in windows again;
New header util/platform.hpp for platform specific stuff that doesn't go elsewhere;
Changed resource names from "CURSOR_SOMETHING" to "cursor/something", so it matches the filenames (in progress for other resource types).

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@190 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-30 17:27:25 +00:00
coppro 7355ce5b51 Removed some changes I made to attempt to debug the Linux version and forgot to take out.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@189 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-30 17:14:32 +00:00
coppro 28bcb1068c Compiled Linux version. The welcome screen doesn't display the icon images, and the buttons don't work. Data is found at *prefix*/Magic Set Editor/data and the images at *prefix*/Magic Set Editor/resource. On Ubuntu, *prefix* is /usr/local/share. Resource files are all the image files from resource. I haven't configured them, because I haven't made it past the welcome screen.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@188 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-30 04:03:22 +00:00
twanvl 27d5b2c94b removed minimum width of notes field
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@187 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-29 14:35:19 +00:00
twanvl 3a18f787ce Compiles again under MSW after porting changes for linux
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@186 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-29 14:16:57 +00:00
twanvl 79a90529ac Resource files
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@185 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-29 13:34:31 +00:00
twanvl 942e4a5f0f Templates for magic, vanguard and vs-system
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@184 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-29 13:01:12 +00:00
twanvl 3d9181e5f6 Eliminated most build errors (gcc,linux,wxGTK).
What is left is mostly:
 - warning: converting double to int
     -> add a cast/to_int or ignore
 - wrong initialization order in ctor
     -> just swap the order to match the class
 - errors about wxCursors
     -> add a function loadResourceCursor


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@183 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-29 00:04:20 +00:00
twanvl 1cd80a3710 A working configure&makefile; now in the process of getting it to build on gcc
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@182 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-28 22:38:59 +00:00
twanvl fc03b5efa1 Fixed compilation errors for gcc@linux (not all yet).
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@181 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-01-28 19:13:01 +00:00
twanvl d96d150138 improved selection
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@180 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-26 17:14:18 +00:00
twanvl 2ec0771cc8 fixed locale references
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@177 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-25 18:38:51 +00:00
twanvl b10032cbe7 windows installer
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@176 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-25 18:38:34 +00:00
twanvl 439dbfce6b rewritten retrying part of reader, it is now implemented how it should have been from the start.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@175 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-25 16:52:07 +00:00
twanvl 282d4b9751 fixed parser bug: I_RET was not always added
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@174 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-25 14:46:23 +00:00
twanvl 031266c71b separate short_name for packages, moved full_name,short_name and icon_filename to Packaged
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@173 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-25 14:19:36 +00:00
twanvl f7d12a4114 MOVE_MID support for cursor_to_index
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@172 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 19:18:42 +00:00
twanvl 05cc16d070 formating works, cursor position now prefers to be inside tags
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@171 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 19:04:36 +00:00
twanvl ba847a4981 lines are handled by font text element
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@170 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 16:14:29 +00:00
twanvl cf0a9dbbf4 "Not Quite MSE" for now
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@169 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 16:04:53 +00:00
twanvl 1ab6b0cb82 text scaling
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@168 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 16:04:24 +00:00
twanvl 99867b0c0b command line argument support
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@167 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 15:17:30 +00:00
twanvl ca3b7b91b4 <sep-soft> support
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@166 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 15:03:52 +00:00
twanvl b059c867d2 fixed crash in drop down list when switching between editors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@165 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 14:08:08 +00:00
twanvl 8ab89a1145 fixed onHandle: now looks at all handles
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@164 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 13:53:07 +00:00
twanvl 966446342f dummy text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@163 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 13:52:49 +00:00
twanvl ed8f96ec50 forgot initialization, fixed
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@162 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 13:35:52 +00:00
twanvl 77c6acf90f hack to fix completely transparent images
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@161 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 00:41:46 +00:00
twanvl 40606d975e debuged some horrible race conditions & deadlocks
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@160 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-24 00:12:06 +00:00
twanvl 5bed5892f3 thumbnails for choice editor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@159 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-23 21:12:26 +00:00
twanvl 3883251961 fixed resample_persever_aspect
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@158 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-23 21:04:09 +00:00
twanvl 323a310de8 tweaks to splitter; filtered cardlist always initialized
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@157 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-23 16:59:14 +00:00
twanvl f241fb91fa filtered card list is used
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@156 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-23 16:54:03 +00:00
twanvl dcdd000aef redrawing of editors (for drop down lists)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@155 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-23 13:26:53 +00:00
twanvl 2233295cfd scrollbar in text editor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@154 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-23 12:47:08 +00:00
twanvl 153dab9a4f tweaking
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@153 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 23:34:21 +00:00
twanvl 106afceaf9 perliminaries for filtered card list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@152 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 23:03:02 +00:00
twanvl c85e821f00 AlphaMask implementation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@151 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 23:02:32 +00:00
twanvl d5db3f46ff numeric statistics dimensions; minor tweaks of graph
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@150 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 22:47:48 +00:00
twanvl 69e4edff95 changed <line> semantics, usage is now <line>\n</line>
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@149 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 20:00:18 +00:00
twanvl 3eece6eb61 support for masks in choice styles
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@148 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 19:29:51 +00:00
twanvl cf39deec24 combined_editor function, and improved dependency handling (removing duplicates), viewer refreshes on events from script manager
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@147 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 19:05:52 +00:00
twanvl 7ba562ea2e fixed flickering cursor in text control
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@146 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 16:02:33 +00:00
twanvl a16c098eac Layout() always called when editor/viewer control changes size
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@145 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 15:33:14 +00:00
twanvl 274cb1117f rotation and style changing works
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@144 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 15:08:49 +00:00
twanvl 5a8febd82a fixed rotation bug
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@143 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 13:52:20 +00:00
twanvl 20f5c127f8 set.validate() used for adding initial card to a set
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@142 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 13:51:24 +00:00
twanvl d33da0b765 actions for changing styles
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@141 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 13:50:14 +00:00
twanvl b2fa273fe7 actions for changing the style
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@140 0fc631ac-6414-0410-93d0-97cfa31319b6
2006-12-22 13:50:04 +00:00