*
* Copyright (c) Tuomo Valkonen 1999-2007.
*
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
*/
#include <string.h>
/*EXTL_DOC
- * Future requests for ''brushes'' are to be forwarded to the drawing engine
+ * Future requests for ``brushes'' are to be forwarded to the drawing engine
* \var{engine}. If no engine of such name is known, a module with that name
* is attempted to be loaded. This function is only intended to be called from
* colour scheme etc. configuration files and can not be used to change the
}
-static bool gr_stylespec_find_(GrStyleSpec *spec, GrAttr a, int *idx_ge)
+static bool gr_stylespec_find_(const GrStyleSpec *spec, GrAttr a, int *idx_ge)
{
bool found=FALSE;
uint i;
return found;
}
+
+bool gr_stylespec_isset(const GrStyleSpec *spec, GrAttr a)
+{
+ int idx_ge;
+
+ return gr_stylespec_find_(spec, a, &idx_ge);
+}
+
+
bool gr_stylespec_add(GrStyleSpec *spec, GrAttr a, uint score)
{
static const uint sz=sizeof(GrAttrScore);
/*EXTL_DOC
- * Read drawing engine configuration file \file{draw.lua}.
+ * Read drawing engine configuration file \file{look.lua}.
*/
EXTL_EXPORT_AS(gr, read_config)
void gr_read_config()