Exemplo n.º 1
0
//*
//* Set Colorset From Prop String
//*
void aui_setthemecolor(char * prop, char * key, color * cl) {
  char * val = aui_parsepropstring(prop, key);
  
  if (val != NULL) {
    cl[0] = strtocolor(val);
    free(val);
  }
}
Exemplo n.º 2
0
static uint32_t string2color(ASS_Library *library, char *p)
{
    uint32_t tmp;
    (void) strtocolor(library, &p, &tmp, 0);
    return tmp;
}