--- ./man/cdk_display.3.orig 2006-04-17 12:45:02.000000000 +0200 +++ ./man/cdk_display.3 2010-11-22 12:30:11.667537601 +0100 @@ -54,7 +54,7 @@ .nf .ce \fI----------------------------------------\fR -#include +#include void main() { @@ -66,11 +66,13 @@ /* Initialize the Cdk screen. */ screen = initscr(); cdkscreen = initCDKScreen (screen); + /* Start CDK Colors */ + initCDKColor(); /* Set the labels up. */ - mesg[0] = "This line should have a yellow foreground and a blue background."; - mesg[1] = "This line should have a white foreground and a blue background."; - mesg[2] = "This line should have a yellow foreground and a red background."; + mesg[0] = "This line should have a yellow foreground and a blue background."; + mesg[1] = "This line should have a white foreground and a blue background."; + mesg[2] = "This line should have a yellow foreground and a red background."; mesg[3] = "This line should be set to whatever the screen default is."; /* Declare the labels. */ @@ -121,7 +123,7 @@ .nf .ce \fI----------------------------------------\fR -#include +#include void main() { @@ -133,11 +135,13 @@ /* Initialize the Cdk screen. */ screen = initscr(); cdkscreen = initCDKScreen (screen); + /* Start CDK Colors */ + initCDKColor(); /* Set the labels up. */ - mesg[0] = "Bold text yellow foreground / blue background."; - mesg[1] = "Underlined text white foreground / blue background."; - mesg[2] = "Blinking text yellow foreground / red background."; + mesg[0] = "Bold text yellow foreground / blue background."; + mesg[1] = "Underlined text white foreground / blue background."; + mesg[2] = "Blinking text yellow foreground / red background."; mesg[3] = "This line uses the screen default colors."; /* Declare the labels. */ @@ -190,7 +194,7 @@ .ce \fI----------------------------------------\fR .nf -#include +#include void main() { @@ -202,10 +206,12 @@ /* Initialize the Cdk screen. */ screen = initscr(); cdkscreen = initCDKScreen (screen); + /* Start CDK Colors */ + initCDKColor(); /* Set the labels up. */ - mesg[0] = "This line should have a yellow foreground and a blue background."; - mesg[1] = "This line should have a white foreground and a blue background."; + mesg[0] = "This line should have a yellow foreground and a blue background."; + mesg[1] = "This line should have a white foreground and a blue background."; mesg[2] = "This is a bullet."; mesg[3] = "This is indented 10 characters."; mesg[4] = "This line should be set to whatever the screen default is."; @@ -295,7 +301,7 @@ .ce \fI----------------------------------------\fR .nf -#include "cdk.h" +#include void main() { @@ -313,9 +319,9 @@ initCDKColor(); /* Set the labels up. */ - mesg[0] = "<#UL><#HL(25)><#UR>"; + mesg[0] = "<#UL><#HL(26)><#UR>"; mesg[1] = "<#VL>This text should be boxed.<#VL>"; - mesg[2] = "<#LL><#HL(25)><#LR>"; + mesg[2] = "<#LL><#HL(26)><#LR>"; mesg[3] = "While this is not."; /* Declare the labels. */