]> git.saurik.com Git - wxWidgets.git/blame - docs/univ/readme.txt
unicode for mac fixes
[wxWidgets.git] / docs / univ / readme.txt
CommitLineData
fa5af9af
VZ
1 wxUniversal README
2 ==================
2bcdcf7e 3
ea5ef76f 4Welcome to wxUniversal!
2bcdcf7e 5
ea5ef76f 6Acknowledgements: wxUniversal wouldn't have been written without the
fa5af9af 7generous support of SciTech Software. Many thanks to Kendall Bennett and
2bcdcf7e
VZ
8Tom Ryan!
9
100. Introduction
11---------------
12
ea5ef76f 13wxUniversal is a port of wxWindows which implements the various GUI controls
2bcdcf7e
VZ
14by drawing them itself (using low level wxWindows classes). Please see
15
fa5af9af 16 http://www.wxwindows.org/wxuniv.htm
2bcdcf7e
VZ
17
18for more details about it.
19
ea5ef76f 20The advantage of wxUniversal is that you have precise control over the
b59da6c2 21controls' appearance (it is not always possible to change all aspects of the
2bcdcf7e 22native controls) and the theme support: the same program may be changed to
b59da6c2 23look completely differently without changing a single line of its code but
2bcdcf7e
VZ
24just changing the theme.
25
ea5ef76f 26Another advantage is that it makes writing ports of wxWindows for other
2bcdcf7e 27platforms (such as OS/2, BeOS or QNX) much simpler, so it is of special
b59da6c2 28interest to people interested in porting wxWindows to another platform.
2bcdcf7e 29
ea5ef76f 30However, wxUniversal doesn't have a 100% native look and feel unlike the
2bcdcf7e
VZ
31other wxWindows ports - this is the price to pay for the extra flexibility.
32
b59da6c2
JS
331. Requirements and supported platforms
34---------------------------------------
2bcdcf7e 35
ea5ef76f 36wxUniversal is used together with another wxWindows port which provides the
fa5af9af
VZ
37"low level classes" mentioned above. Currently it can be built with wxMSW,
38wxGTK or wxX11. In any case, you should download the sources for the
2bcdcf7e
VZ
39appropriate toolkit in addition to wxUniversal - in fact, you should download
40them first and then unpack wxUniversal in the same directory.
41
ea5ef76f 42The requirements for wxUniversal are the same as for the underlying low level
2bcdcf7e
VZ
43toolkit.
44
452. Installing under Win32
46-------------------------
47
ea5ef76f
JS
48If compiling from CVS, please copy include/wx/univ/setup0.h
49to include/wx/univ/setup.h before following these steps.
50
2bcdcf7e
VZ
51a) Using Visual C++ 6.0
52
b59da6c2 53 Simply open the src/wxUniv.dsw file in DevStudio and build it.
c482b99e
JS
54 Then open the widgetsUniv.dsp file in samples/widgets to build
55 the widgets sample.
2bcdcf7e
VZ
56
57b) Cygwin
58
59 Please refer to the Unix section below
60
61c) Other compilers
2b5f62a0
VZ
62 Borland:
63 in the wxwindows\src\msw directory run
64 'make -f makefile.b32 WXUSINGUNIV=1' to build the library and then run
65 'make -f makefile.b32 WXUSINGUNIV=1' in the sample directory which you wish
66 to build using the wxUniversal widgets. Use 'SET WXTHEME=GTK' [or WIN32 or METAL]
67 to test the existing themes
2bcdcf7e 68
ea5ef76f 69Unfortunately we don't have makefiles for any other compilers yet.
2bcdcf7e
VZ
70Please contact us if you would like to help us with creating one for the
71compiler you use.
72
b59da6c2
JS
73Note that you can use the wxUniversal classes, wxMSW and MicroWindows (from
74Century Software) to build a different variant of wxUniversal than that
75documented here. Please see docs/univ/readme.txt for further information.
76
2bcdcf7e
VZ
773. Installing under Unix
78------------------------
79
fa5af9af
VZ
80Please refer to the installation instructions for wxGTK or wxX11. The only
81change for wxUniversal is that you must add "--enable-universal" switch to
82the configure command line and for wxX11 even this is unnecessary, i.e. it
83is enabled by default.
2bcdcf7e 84
ea5ef76f
JS
85If compiling from CVS, please copy include/wx/univ/setup0.h
86to include/wx/univ/setup.h before configuring.
87
717e51d8
VZ
884. Running wxUniv programs
89--------------------------
90
91wxUniv programs all honour the standard option "--theme" which allows to
92specify the theme to be used by name. Currently there are the following
93themes:
94
95a) win32 -- Windows 95 look and feel
96b) metal -- based on win32 but with gradient backgrounds
97c) gtk -- GTK+ 1.x standard look and feel
98
99Thus, to launch a program using gtk theme you may do "./program --theme=gtk".
100
101It is also possible to change the default theme for all wxUniv applications
102at once by setting the environment variable WXTHEME to the theme name.
103
1045. Documentation and support
2bcdcf7e
VZ
105----------------------------
106
ea5ef76f 107Please note that wxUniversal is not as mature as the other wxWindows ports
2bcdcf7e
VZ
108and is currently officially in alpha stage. In particular, it is not really
109intended for the end users but rather for developers at the current stage and
110this is why we don't provide any binaries for it.
111
ea5ef76f 112There is no separate documentation for wxUniversal, please refer to wxWindows
2bcdcf7e
VZ
113documentation instead.
114
ea5ef76f 115Support for wxUniversal is available from the same places as for wxWindows
2bcdcf7e
VZ
116itself, namely:
117
118* Usenet newsgroup comp.soft-sys.wxwindows
119
120* Mailing lists: see http://lists.wxwindows.org/ for more information
121
122* WWW page: http://www.wxwindows.org/
123
124
b59da6c2 125 Hope you find wxUniversal useful!
2bcdcf7e 126
fa5af9af 127 Vadim Zeitlin
2bcdcf7e
VZ
128
129
2b5f62a0 130This file is accurate for the version 2.3.4 of wxUniversal. It was last
717e51d8 131modified on Apr 15, 2002.
2bcdcf7e 132