Border color and background color
Cristina Camara
CRISC@amkor.com
Fri Jul 11 01:13:00 GMT 2003
Hi! My email add is crisc@amkor.com Im new to the X window Programming
world, im starting with creating a simple window.
One of the parameter XcreateSimpleWindow function is the border thickness
and border color. How do I specify that?
Ex:
Int win_border_width;
Int win_border_color;
win_border_width=2;
win_border_color=5;
now for ex im starting to create a wiondow like this:
/* create the window, as specified earlier. */
win = XCreateSimpleWindow(display,
RootWindow(display, screen_num),
win_x, win_y,
win_width, win_height,
win_border_width, BlackPixel(display,
screen_num),
win_botder_color, WhitePixel(display,
screen_num));
Is this correct?
I want Black as my background color. Please help me.
Regards,
Tina
More information about the Gcc-help
mailing list