Changes to support OS/2 port
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
Per discussions with Elbert Pol, it looks like some adjustments are needed to support an OS/2 port of Tux Paint
Magic tool plugin filenames cannot exceed 8 characters (they will be truncated, e.g. "mosaic_shaped
" as "mosaic_s.dll
", causing Tux Paint to fail to find internal functions)
__declspec(dllexport)
prepended to (I assume only external-facing) function prototypes.
This could be used:
#ifdef __OS2__
# define TX_EXTERN __declspec(dllexport)
#else
# define TX_EXTERN
#endif
...
TX_EXTERN int somemagic_init(magic_api *);
Elbert reports "I see a small stick as mouse pointer thats mostly hidden". I suggested trying CURSOR_SHAPES:=SMALL
in Makefile.
TBD
I've pinged Elbert to see what state things are in (it's been about a year since we chatted!)
0.9.33 will include some changes and, so far, modifications to Mirror/Flip plugin that should allow it to run. All remaining Magic tools will need similar modifications.
* Add
TX_EXTERN
prefix to all other public Magic tool functions* Rename all other magic tool source files to have shorter filenames. ;(