diff options
| author | Paul Richards <paul@FreeBSD.org> | 1995-01-30 02:41:29 +0000 |
|---|---|---|
| committer | Paul Richards <paul@FreeBSD.org> | 1995-01-30 02:41:29 +0000 |
| commit | 0d595e6acd57e9cadc2a1db0453ef7bd2c69f5a1 (patch) | |
| tree | 8104cfa8a2d39c88da1d4853f45a7db056097f1d /lib/libforms/examples/example.frm | |
| parent | 31892b894c5528a801ecf6a2883bdf29ee31a319 (diff) | |
Notes
Diffstat (limited to 'lib/libforms/examples/example.frm')
| -rw-r--r-- | lib/libforms/examples/example.frm | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libforms/examples/example.frm b/lib/libforms/examples/example.frm index 542d9094572c6..942bbbf3b8d8d 100644 --- a/lib/libforms/examples/example.frm +++ b/lib/libforms/examples/example.frm @@ -1,5 +1,10 @@ +Colors example { + pair = red, yellow + pair = blue, white +} + Field Title { - attributes = A_BOLD + attributes = COLOR_PAIR(2) text = "A Simple Demo" } @@ -37,13 +42,13 @@ Field field7 { Field field8 { width = 6 - attributes = A_BOLD|A_REVERSE action = "EXIT" function = exit_form } Field field9 { - attributes = A_BOLD|A_REVERSE + attributes = COLOR_PAIR(1) + highlight = COLOR_PAIR(1)|A_BOLD action = "CANCEL" function = cancel_form } @@ -80,6 +85,8 @@ Link cancel as field9 { Form example at 0,0 { height = 24 width = 80 + colortable = example + attributes = COLOR_PAIR(1) Field Title at 0,30 |
