README.txt
上传用户:rongdasara
上传日期:2014-09-19
资源大小:34196k
文件大小:4k
源码类别:

图形图像处理

开发平台:

Visual C++

  1. /*
  2.  * Based on various older packages.  See CREDITS for more info.
  3.  *
  4.  * see ChangeLog file for details
  5.  *
  6.  * current maintainer: jeff(at)hobbs.org
  7.  *
  8.  * Changes 1998-2002 Copyright (c) Jeffrey Hobbs (jeff(at)hobbs.org)
  9.  */
  10. *************************************
  11.   The vu Widget Set v2.1+
  12. *************************************
  13. The newest version is most likely found at:
  14. http://tktable.sourceforge.net/
  15. http://www.purl.org/net/hobbs/tcl/capp/
  16. INTRODUCTION
  17. ============
  18. Based on the old vuw widgets from UCO-Lick, this package consists of:
  19.   ::vu::dial a "clock face" gauge with a rotating indicator hand
  20. which can be scaled as you wish to represent various
  21. integer values
  22.   ::vu::pie a pie chart with legend, shading, exploded segments, etc.
  23.   ::vu::spinbox a standard spinbox (<= 8.3)
  24. This is the same as the 8.4 core spinbox widget.
  25.   ::vu::bargraph a "gas gauge" (growing/shrinking bar) such as many
  26. mac applications use to indicate %age of file
  27. processed, count of bytes transferred etc.
  28. The following widgets are also under development:
  29.   ::vu::combo a standard combobox
  30. The following additional canvas items are also included:
  31.   stripchart taken from scotty (Schoenwaelder)
  32.   barchart taken from scotty (Schoenwaelder)
  33.   sticker  taken from tkSticker-1.2 (Heribert Dahms), Unix only
  34. Under development (actually, just requires internal Tk headers that
  35. aren't searched for by default):
  36.   label from tkgraph-2.0.4's tkCanvText.c (uses BLT text rotation)
  37. a dash-pached version of standard tkCanvText.c
  38. renamed to tkCanvLabel.c
  39. (The tkCanvLabel.c should be part of the CORE.)
  40. BINARY DISTRIBUTIONS
  41. ====================
  42. If this is a binary distribution, then the vu-<version> directory
  43. just needs to be placed as a sibling directory next to $tk_library.
  44. You can place it anywhere, as long as $auto_path has the name of
  45. the directory.
  46. BUILDING FROM SOURCE
  47. ====================
  48.  * UNIX & WINDOWS (Using TEA -- Tcl Extension Architecture)
  49. unpack the source in a directory called VU or something like that.
  50. cd vu-<version>
  51. or whatever you called it, do not use the makefiles in the
  52. win/ subdirs since they are not TEA-compliant.  The
  53. toplevel makefile will build on any platform that is
  54. configured for TEA (on Windows you will need cygwin or a
  55. similar set of tools).
  56. ./configure
  57. * you may want to add --prefix=/opt/tcl or whatever the
  58. correct path is at your site
  59. * you may need to use the --with-tcl and --with-tk flags to
  60. tell configure which version of Tcl and Tk to use.
  61. make install
  62.  * WINDOWS (using nmake)
  63. unpack the source in a directory called VU or something like that.
  64. cd vu-<version>/win
  65. or whatever you called it
  66. nmake -f makefile.vc
  67. you may want to add --prefix=/opt/tcl
  68. or whatever the correct path is at your site
  69. nmake -f makefile.vc test
  70. nmake -f makefile.vc install
  71.  * MAC
  72. requires CodeWarrior 5+.  I'm not quite sure what is necessary,
  73. because those are contributed project files.  Mac projects
  74. contributed by Daniel Steffen.
  75. CREDITS
  76. =======
  77. The bargraph was originally written by a team of programmers and
  78. researchers at the University of Victoria, Wellington, NZ.  The main
  79. co-conspirators were Francis Gardner, Richard Dearden, and Julian Anderson.
  80. These authors subsequently moved on to other projects and the VU widgets
  81. were left orphaned.  Dial and pie were also part of that set, but the
  82. current dial and pie represent a complete rewrite of the original code with
  83. different feature set.
  84.   -------------
  85. win/winUtil.c and the text rotation portions of generic/tkCanvLabel.c are
  86. derived from BLT, Copyright Bell Labs Innovations for Lucent Technologies
  87. (author George Howlett).
  88.   -------------
  89. dial was inspired from tkTurndial v2.0, with copyright as follows:
  90.  * (c) 1996, Pierre-Louis Bossart (bossart(at)redhook.llnl.gov)
  91.  * Based on the tkTurndial-1.8 copyrighted as follows
  92.  * (c) 1995, Marco Beijersbergen (beijersb(at)rulhm1.leidenuniv.nl)