Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 1 | ------------------------------------------------------------------------------- |
| 2 | -- Copyright (c) 1998,2006 Free Software Foundation, Inc. -- |
| 3 | -- -- |
| 4 | -- Permission is hereby granted, free of charge, to any person obtaining a -- |
| 5 | -- copy of this software and associated documentation files (the -- |
| 6 | -- "Software"), to deal in the Software without restriction, including -- |
| 7 | -- without limitation the rights to use, copy, modify, merge, publish, -- |
| 8 | -- distribute, distribute with modifications, sublicense, and/or sell copies -- |
| 9 | -- of the Software, and to permit persons to whom the Software is furnished -- |
| 10 | -- to do so, subject to the following conditions: -- |
| 11 | -- -- |
| 12 | -- The above copyright notice and this permission notice shall be included -- |
| 13 | -- in all copies or substantial portions of the Software. -- |
| 14 | -- -- |
| 15 | -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- |
| 16 | -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- |
| 17 | -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -- |
| 18 | -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- |
| 19 | -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- |
| 20 | -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -- |
| 21 | -- USE OR OTHER DEALINGS IN THE SOFTWARE. -- |
| 22 | -- -- |
| 23 | -- Except as contained in this notice, the name(s) of the above copyright -- |
| 24 | -- holders shall not be used in advertising or otherwise to promote the -- |
| 25 | -- sale, use or other dealings in this Software without prior written -- |
| 26 | -- authorization. -- |
| 27 | ------------------------------------------------------------------------------- |
| 28 | -- $Id: NEWS,v 1.4 2006/04/22 22:19:37 tom Exp $ |
| 29 | ------------------------------------------------------------------------------- |
| 30 | This is a log of changes that the ncurses C++ binding has gone |
| 31 | through starting with the integration of menu and forms integration |
| 32 | into the binding. |
| 33 | |
| 34 | 990731 + Improve support for pads. A viewport window may now be added to |
| 35 | a pad. It will then be possible to use a builtin panning mechanism |
| 36 | to view the pad. |
| 37 | |
| 38 | 970908 + Improve NCursesWindow class: added additional methods to |
| 39 | cover more ncurses functionality. Make refresh() and |
| 40 | noutrefresh() virtual members to allow different implementation |
| 41 | in the NCursesPanel class. |
| 42 | + CAUTION: changed order of parameters in vline() and hline() of |
| 43 | NCursesWindow class. |
| 44 | + Make refresh() in NCursesPanel non-static, it is now a |
| 45 | reimplementation of refresh() in the base class. Added |
| 46 | noutrefresh() to NCursesPanel. |
| 47 | + Added NCursesForm and related classes to support libform |
| 48 | functionality. |
| 49 | + Moved most of configuration related stuff from cursesw.h to |
| 50 | etip.h |
| 51 | + Added NCursesApplication class to support easy configuration |
| 52 | of menu and forms related attributes as well as ripped of |
| 53 | title lines and Soft-Label-Keys for an application. |
| 54 | + Support of Auto-Cleanup for a menus fieldlist. |
| 55 | + Change of return type for current_item() and operator[] for |
| 56 | menus. |
| 57 | + Enhanced demo. |
| 58 | 970502 |
| 59 | + Introduced the THROW and THROWS functions/macros to prepare |
| 60 | a smoother transition to real exception handling. |
| 61 | + Exception classes provided in etip.h |
| 62 | + Added the NCursesMenu class to support libmenu functionality. |
| 63 | + The inheritace relation between NCursesWindow and NCursesColorWindow |
| 64 | was kind of brain damage. Monochrome is a special case of colored, so |
| 65 | the relation should be just the opposite. This would allow all |
| 66 | derived classes like NCursesPanel, NCursesMenu or NCursesForm to |
| 67 | have colors. |
| 68 | To resolve that design flaw I put the color functionality into the |
| 69 | NCursesWindow class and it can be switched on by the static member |
| 70 | useColors(). NCursesColorWindow is still there for compatibility |
| 71 | reasons. |