diff options
Diffstat (limited to 'audio/cam/patches/patch-ad')
-rw-r--r-- | audio/cam/patches/patch-ad | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/audio/cam/patches/patch-ad b/audio/cam/patches/patch-ad index 596a7ca4d06..ac23f753476 100644 --- a/audio/cam/patches/patch-ad +++ b/audio/cam/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $ +$NetBSD: patch-ad,v 1.5 2000/04/27 17:03:47 mycroft Exp $ --- screens.c.orig Mon Oct 21 14:18:25 1996 -+++ screens.c Sat Apr 15 19:39:10 2000 ++++ screens.c Thu Apr 27 13:00:04 2000 @@ -25,6 +25,7 @@ #include "cam.h" @@ -18,7 +18,7 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $ if (sig != 0) exit(1); } -@@ -40,41 +42,46 @@ +@@ -40,19 +42,21 @@ void set_screen(void) { @@ -47,21 +47,14 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $ mvaddstr(LINES-2,4,"Press 'h' for help"); } - /* Draws the sliders */ - void draw_slider(int Y, int X, char *device) - { -+ int i; - attrset(COLOR_PAIR(COLOR_SLIDER)); - mvaddnstr(Y+1,X,device,7); +@@ -64,17 +68,17 @@ mvaddstr(Y+1,X+8,"Left"); mvaddstr(Y+2,X+8,"Right"); attrset(COLOR_PAIR(COLOR_SLIDER) | A_ALTCHARSET); - mvaddstr(Y+1,X+14,"ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ"); - mvaddstr(Y+2,X+14,"ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ"); -+ for (i = 0; i < 21; i++) -+ mvaddch(Y+1,X+14+i,ACS_HLINE); -+ for (i = 0; i < 21; i++) -+ mvaddch(Y+2,X+14+i,ACS_HLINE); ++ mvhline(Y+1,X+14,ACS_HLINE,21); ++ mvhline(Y+2,X+14,ACS_HLINE,21); attrset(COLOR_PAIR(COLOR_VOL1) | A_ALTCHARSET); - mvaddstr(Y,X+14,"ù ù ù ù"); - mvaddstr(Y+3,X+14,"ù ù ù ù"); @@ -80,7 +73,7 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $ } /* -@@ -87,26 +94,27 @@ +@@ -87,26 +91,27 @@ { if ((level == 1 ) || ( level == 2 )) { attrset(A_NORMAL | A_ALTCHARSET); @@ -114,7 +107,7 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $ stdscr = initscr(); if ( (COLS < 80) || (LINES < 25) ) { finish(0); -@@ -181,9 +189,9 @@ +@@ -181,9 +186,9 @@ char ch; touchwin(stdscr); help_win = newwin(15,50,(LINES - 15) / 2,(COLS - 50) / 2); |