I'm writing a plugin and just trying to draw a blue filled rectangle on the
screen, but I'm not sure how. I think I need to be using rb->set_color in
plugin.h:

    bool (*set_color)(struct screen *display, char *title, unsigned *color,
                   unsigned banned_color);

But I'm not sure what the title parameter is for, how it extracts a color
from an unsigned int (RGB and throw away byte?) or what a banned_color is.
Help?

Joe

Reply via email to