git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10863
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
Basically the classes makes use of the existing GIF decoder in
wxWindows to read an animated GIF into wxGIFAnimation, and then
Basically the classes makes use of the existing GIF decoder in
wxWindows to read an animated GIF into wxGIFAnimation, and then
-play that animation using wxAnimationPlayer. It's very much tied
-to the animated GIF format, so don't expect anything too generic.
+play that animation using wxAnimationPlayer. It's quite tied
+to the animated GIF way of doing animation, so don't expect anything too generic.
However, it would be quite possible to write code to convert an animated
GIF into a PNG-based invented format, and then write a wxPNGAnimation
handler.
However, it would be quite possible to write code to convert an animated
GIF into a PNG-based invented format, and then write a wxPNGAnimation
handler.
wxWindows. If you have downloaded the latest code from the CVS trunk,
the problem has been corrected already.
wxWindows. If you have downloaded the latest code from the CVS trunk,
the problem has been corrected already.
+As an exercise, you might like to write a handler for the
+PNG-based animation format:
+
+http://www.libpng.org/mng/
+http://www.libmng.com/
+
Julian Smart, 5th July 2001
Julian Smart, 5th July 2001
MicroWindows:
- unarchive MicroWindows 0.89pre7
MicroWindows:
- unarchive MicroWindows 0.89pre7
-- change 'config' to use X11 and any other options you feel fit,
- such as verbose compilation
-- cd to src/mwin and apply microwindows.patches (from wxWindows:
+
+- change 'config' to use X11 and any other options you feel fit.
+ Suggestions for changes to the defaults:
+
+ ERASEMOVE=N (otherwise moving windows will look messy)
+ X11=Y
+ OPTIMIZE=N
+ DEBUG=Y
+ VERBOSE=Y
+
+- apply microwindows.patches (from wxWindows:
docs/microwin/microwindows.patches) to fix PeekMessage
docs/microwin/microwindows.patches) to fix PeekMessage
- compile by typing 'make' from within the MicroWindows src directory
wxMicroWindows:
- untar the wxMicroWindows port/download from CVS
- compile by typing 'make' from within the MicroWindows src directory
wxMicroWindows:
- untar the wxMicroWindows port/download from CVS
-- and change the TOP variable at the top of src/msw/makefile.mic
+
+- change the TOP variable at the top of src/msw/makefile.mic
to reflect where MicroWindows is installed
to reflect where MicroWindows is installed
- type 'make all' from src/msw. To clean, use cleanwx and NOT clean
since that will clean MicroWindows itself
- type 'make all' from src/msw. To clean, use cleanwx and NOT clean
since that will clean MicroWindows itself
- to make the sample, cd into samples/minimal, edit the TOP variable,
and type 'make all'
- to make the sample, cd into samples/minimal, edit the TOP variable,
and type 'make all'
-A frame comes up :-) The menus don't work properly just yet.
+The minimal sample is almost fully-functional, apart from minor
+menu presentation issues (no borders, for example).
Implementation Notes
====================
Implementation Notes
====================
in wxSystemSettings (worked around by passing HFONT to
the wxFont constructor).
in wxSystemSettings (worked around by passing HFONT to
the wxFont constructor).
-No ::CreateDialog so how do we create dialogs? Simulate
-one with a frame...
-