40 |
/* These options are set often enough, so set them in this generic |
/* These options are set often enough, so set them in this generic |
41 |
function. */ |
function. */ |
42 |
color->flags=DoRed|DoGreen|DoBlue; |
color->flags=DoRed|DoGreen|DoBlue; |
43 |
|
colormap=DefaultColormap(antiright.display, antiright.screen); |
44 |
colormap=DefaultColormap(XtDisplay(arcolor_preview_widget), |
XAllocColor(antiright.display,colormap,color); |
|
DefaultScreen |
|
|
(XtDisplay(arcolor_preview_widget))); |
|
|
|
|
|
|
|
|
XAllocColor(XtDisplay(arcolor_preview_widget), |
|
|
colormap, |
|
|
color); |
|
45 |
} |
} |
46 |
|
|
47 |
void |
void |