readme.txt 5.2 KB

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