ReadMe updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10,8 +10,8 @@ and non-transparent.
|
|||||||
|
|
||||||
Basically the classes makes use of the existing GIF decoder in
|
Basically the classes makes use of the existing GIF decoder in
|
||||||
wxWindows to read an animated GIF into wxGIFAnimation, and then
|
wxWindows to read an animated GIF into wxGIFAnimation, and then
|
||||||
play that animation using wxAnimationPlayer. It's very much tied
|
play that animation using wxAnimationPlayer. It's quite tied
|
||||||
to the animated GIF format, so don't expect anything too generic.
|
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
|
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
|
GIF into a PNG-based invented format, and then write a wxPNGAnimation
|
||||||
handler.
|
handler.
|
||||||
@@ -32,4 +32,10 @@ and change the keyword 'protected' to 'public', then recompile
|
|||||||
wxWindows. If you have downloaded the latest code from the CVS trunk,
|
wxWindows. If you have downloaded the latest code from the CVS trunk,
|
||||||
the problem has been corrected already.
|
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
|
||||||
|
@@ -27,19 +27,32 @@ Installation
|
|||||||
MicroWindows:
|
MicroWindows:
|
||||||
|
|
||||||
- unarchive MicroWindows 0.89pre7
|
- unarchive MicroWindows 0.89pre7
|
||||||
- change 'config' to use X11 and any other options you feel fit,
|
|
||||||
such as verbose compilation
|
- change 'config' to use X11 and any other options you feel fit.
|
||||||
- cd to src/mwin and apply microwindows.patches (from wxWindows:
|
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
|
||||||
|
and other issues
|
||||||
|
|
||||||
- compile by typing 'make' from within the MicroWindows src directory
|
- compile by typing 'make' from within the MicroWindows src directory
|
||||||
|
|
||||||
wxMicroWindows:
|
wxMicroWindows:
|
||||||
|
|
||||||
- untar the wxMicroWindows port/download from CVS
|
- 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
|
- type 'make all' from src/msw. To clean, use cleanwx and NOT clean
|
||||||
since that will clean MicroWindows itself
|
since that will clean MicroWindows itself
|
||||||
|
|
||||||
- to make the sample, cd into samples/minimal, edit the TOP variable,
|
- to make the sample, cd into samples/minimal, edit the TOP variable,
|
||||||
and type 'make all'
|
and type 'make all'
|
||||||
|
|
||||||
@@ -50,7 +63,8 @@ they are one and the same binary.
|
|||||||
Status
|
Status
|
||||||
======
|
======
|
||||||
|
|
||||||
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
|
||||||
====================
|
====================
|
||||||
@@ -96,6 +110,3 @@ No ::GetObject so we can't get LOGFONT from an HFONT
|
|||||||
in wxSystemSettings (worked around by passing HFONT to
|
in wxSystemSettings (worked around by passing HFONT to
|
||||||
the wxFont constructor).
|
the wxFont constructor).
|
||||||
|
|
||||||
No ::CreateDialog so how do we create dialogs? Simulate
|
|
||||||
one with a frame...
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user