This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Border color and background color
- From: "Cristina Camara" <CRISC at amkor dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 10 Jul 2003 18:13:05 -0700
- Subject: Border color and background color
- Sensitivity:
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