sp-cursor.cpp revision a77f074c33e190aa01f9299c39b2dd63e9ce1a77
#define __SP_CURSOR_C__
/*
* Some convenience stuff
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1999-2002 authors
* Copyright (C) 2001-2002 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <string.h>
#include <ctype.h>
#include "sp-cursor.h"
{
int height;
int width;
int colors;
int pix;
int transparent_color = ' ';
int black_color = '.';
for (int i = 0; i < colors; i++) {
char const *p = xpm[1 + i];
char const ccode = *p;
p++;
while (isspace(*p)) {
p++;
}
p++;
while (isspace(*p)) {
p++;
}
if (strcmp(p, "None") == 0) {
}
if (strcmp(p, "#000000") == 0) {
black_color = ccode;
}
}
for (int y = 0; y < 32; y++) {
for (int x = 0; x < 32; ) {
char value = 0;
char maskv = 0;
}
}
}
}
}
}
{
return new_cursor;
}
return NULL;
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :