Skip to content

Commit 94f9053

Browse files
committed
Final polish to prepare for pull request.
1 parent 33a7d1e commit 94f9053

File tree

4 files changed

+39
-27
lines changed

4 files changed

+39
-27
lines changed

ISSUES

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@ ACS_vars:
33
See examples/acs_vars.d to see how they are to be used. If this changes, I'll simply deprecate the old way.
44

55
Mouse Events:
6-
This one is a little tricky since there
6+
This one is a little tricky since most of this is system specific...
7+
Some of the functions haven't been implemented yet...
8+
9+
Other Files:
10+
There are several other files listed in the include/ncurses folder. things like termcap.h and a few that
11+
look to be higher-level wrappers.. How much should be included?

examples/README

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ The main site where these examples were originally found is here:http://tldp.org
44
These examples might not be entirely working correctly, but they should demonstrate that most everything is in working order.
55

66
Again, please file any bugs that you come across.
7-
Even if you don't know if it is actually a bug, we appreciate the time. We understand that sometimes it is hard to figure out.
7+
Even if you don't know if it is actually a bug, we appreciate the time.
8+
We understand that sometimes it is hard to figure out.

menu.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ MENU* new_menu(ITEM** items);
162162
OPTIONS item_opts(const ITEM* item);
163163
OPTIONS menu_opts(const MENU* menuVar);
164164
//TODO check I think it needs to return a MENU, this was fine whan MENU was a void..
165-
//Holy shit, he is using a function pointer to get around the fact that he hadn't defined MENU...
165+
//Holy crap, using a function pointer to get around the fact that MENU isn't defined...
166166
//void* function(MENU*) item_init(const MENU* menuVar);
167167
//void* function(MENU*) item_term(const MENU* menuVar);
168168
//void* function(MENU*) menu_init(const MENU* menuVar);
@@ -212,7 +212,6 @@ int set_menu_back(MENU* menuVar, chtype attr);
212212
int set_menu_fore(MENU* menuVar, chtype attr);
213213
int set_menu_format(MENU* menuVar, int rows, int cols);
214214
int set_menu_grey(MENU* menuVar, chtype attr);
215-
//TODO function...
216215
int set_menu_init(MENU* menuVar, MENU* func);
217216
int set_menu_items(MENU* menuVar, ITEM** items);
218217
int set_menu_mark(MENU* menuVar, immutable char* mark);

ncurses.d

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
1-
/**
2-
* Authors: Jon "ylixir" Allen, ylixir@gmail.com
3-
* And: Jude "1100110" Young, 10equals2@gmail.com
4-
* Copyright: Copyright (c) 2008 ylixir. All rights reserved.
5-
* License:
6-
Permission is hereby granted, free of charge, to any person obtaining
7-
a copy of this software and associated documentation files (the "Software"),
8-
to deal in the Software without restriction, including without limitation
9-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
10-
and/or sell copies of the Software, and to permit persons to whom the
11-
Software is furnished to do so, subject to the following conditions:
12-
13-
The above copyright notice and this permission notice shall be included
14-
in all copies or substantial portions of the Software.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22-
IN THE SOFTWARE.
23-
*/
1+
/****************************************************************************
2+
* Copyright (c) 1998-2009,2010 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 *
9+
* copies of the Software, and to permit persons to whom the Software is *
10+
* furnished 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. *
18+
* IN 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 *
21+
* THE 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+
****************************************************************************/
2428

29+
/****************************************************************************
30+
* Author: Jude "1100110" Young <[email protected]. *
31+
****************************************************************************/
2532
module ncurses;
2633

2734
public import curses;

0 commit comments

Comments
 (0)