Skip to content

Commit 6dbcf3e

Browse files
committed
Examples: rename examples to match name in HOWTO
1 parent 69a9183 commit 6dbcf3e

File tree

39 files changed

+162
-162
lines changed

39 files changed

+162
-162
lines changed

examples/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@ To run the examples, change to the specific directory and build and execute the
99
## Examples
1010

1111
### Basics
12-
- acsvars - ACS variables example
13-
- chgat - chgat() usage example
12+
- acs_vars - ACS variables example
1413
- hellounicode - a simple unicode example (N)
15-
- helloworld - a simple hello world example
16-
- keycode - returns the number code of the key you pressed
17-
- mousemenu - A menu accessible by mouse
18-
- otherborder - Shows usage of other border functions apart from box()
14+
- hello_world - a simple hello world example
15+
- key_code - returns the number code of the key you pressed
16+
- mouse_menu - A menu accessible by mouse
17+
- other_border - Shows usage of other border functions apart from box()
1918
- printbold - Gets a single character and displays it in bold (N)
20-
- printw - A very simple printw() example
21-
- simplecolor - a simple example that demonstrates color output
22-
- simplekey - A menu accessible with keyboard UP, DOWN arrows
23-
- simplespectrum - Sample of 256-colour output (N)
24-
- templeave - Demonstrates temporarily leaving curses mode
25-
- winborder - Shows Creation of windows and borders
19+
- printw_example - A very simple printw() example
20+
- simple_color - a simple example that demonstrates color output
21+
- simple_key - A menu accessible with keyboard UP, DOWN arrows
22+
- simplespectrum - Sample of 256-colour output (N)
23+
- temp_leave - Demonstrates temporarily leaving curses mode
24+
- win_border - Shows Creation of windows and borders
25+
- with_chgat - chgat() usage example
2626

2727
### Forms
2828
- form_attrib - Form attributes example
2929

3030
### Menus
31-
- attribmenu - Usage of menu attributes
32-
- scrollmenu - Demonstrates scrolling capability of menus
33-
- simplemenu - A simple menu accessed by arrow keys
31+
- menu_attrib - Usage of menu attributes
32+
- menu_scroll - Demonstrates scrolling capability of menus
33+
- menu_simple - A simple menu accessed by arrow keys
3434

3535
### Panels
36-
- simplepanel - A simple panel example
36+
- panel_simple - A simple panel example
3737

3838

3939
## TODO

examples/acsvars/dub.json renamed to examples/acs_vars/dub.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "acsvars",
2+
"name": "acs_vars",
33
"description": "Example application for the D ncurses library",
44
"homepage": "https://github.com/D-Programming-Deimos/ncurses",
55
"authors": [
@@ -12,5 +12,5 @@
1212
},
1313
"targetPath": "bin",
1414
"targetType": "executable",
15-
"targetName": "acsVars"
15+
"targetName": "acs_vars"
1616
}

examples/hello_world/dub.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "hello_world",
3+
"description": "Example application for the D ncurses library",
4+
"homepage": "https://github.com/D-Programming-Deimos/ncurses",
5+
"authors": [
6+
"Pradeep Padala",
7+
"Jude \"1100110\" Young"
8+
],
9+
"license": "ncurses",
10+
"dependencies": {
11+
"ncurses": "*"
12+
},
13+
"targetPath": "bin",
14+
"targetType": "executable",
15+
"targetName": "hello_world"
16+
}

examples/keycode/dub.json renamed to examples/key_code/dub.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "keycode",
2+
"name": "key_code",
33
"description": "Example application for the D ncurses library",
44
"homepage": "https://github.com/D-Programming-Deimos/ncurses",
55
"authors": [
@@ -12,5 +12,5 @@
1212
},
1313
"targetPath": "bin",
1414
"targetType": "executable",
15-
"targetName": "keyCode"
15+
"targetName": "key_code"
1616
}

examples/scrollmenu/dub.json renamed to examples/menu_attrib/dub.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "scrollmenu",
2+
"name": "menu_attrib",
33
"description": "Example application for the D ncurses library",
44
"homepage": "https://github.com/D-Programming-Deimos/ncurses",
55
"authors": [
@@ -15,5 +15,5 @@
1515
},
1616
"targetPath": "bin",
1717
"targetType": "executable",
18-
"targetName": "scrollMenu"
18+
"targetName": "menu_attrib"
1919
}

examples/attribmenu/dub.json renamed to examples/menu_scroll/dub.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "attribmenu",
2+
"name": "menu_scroll",
33
"description": "Example application for the D ncurses library",
44
"homepage": "https://github.com/D-Programming-Deimos/ncurses",
55
"authors": [
@@ -15,5 +15,5 @@
1515
},
1616
"targetPath": "bin",
1717
"targetType": "executable",
18-
"targetName": "attribMenu"
18+
"targetName": "menu_scroll"
1919
}

0 commit comments

Comments
 (0)