36AddWorkSpace(
const char *name,
const char *background,
const char *foreground,
37 const char *backback,
const char *backfore,
const char *backpix)
48 ws->
name = strdup(name);
49 ws->
label = strdup(name);
60 if(background == NULL) {
67 if(foreground == NULL) {
75#ifdef COLOR_BLIND_USER
79 if(!
Scr->BeNiceToColormap) {
88 if(backback == NULL) {
96 if(backfore == NULL) {
107 if(ws->
image != NULL) {
113 if(
Scr->workSpaceMgr.workSpaceList == NULL) {
114 Scr->workSpaceMgr.workSpaceList = ws;
118 while(wstmp->
next != NULL) {
125 Scr->workSpaceManagerActive =
true;
137 const char *background,
const char *foreground,
152 if(background == NULL) {
157 if(foreground == NULL) {
165 if((image =
GetImage(pixmap,
Scr->workSpaceMgr.curColors)) == NULL) {
166 fprintf(stderr,
"Can't find pixmap %s\n", pixmap);
179 const char *background,
const char *foreground,
194 if(background == NULL) {
198 if(foreground == NULL) {
Image * GetImage(const char *name, ColorPair cp)
void GetColor(int kind, Pixel *what, const char *name)
Get info from the server about a given color.
void GetShadeColors(ColorPair *cp)
Try and create a 'shaded' version of a color for prettier UI.
void WMapCreateDefaultBackGround(const char *border, const char *background, const char *foreground, const char *pixmap)
void WMapCreateCurrentBackGround(const char *border, const char *background, const char *foreground, const char *pixmap)
void AddWorkSpace(const char *name, const char *background, const char *foreground, const char *backback, const char *backfore, const char *backpix)