add ABR brushes and presets with properties and patterns
This commit is contained in:
11
src/util.cpp
11
src/util.cpp
@@ -313,6 +313,17 @@ std::string wstr2str(const std::wstring & wstr)
|
||||
return converted;
|
||||
}
|
||||
|
||||
bool str_iequals(const std::string& a, const std::string& b)
|
||||
{
|
||||
unsigned int sz = a.size();
|
||||
if (b.size() != sz)
|
||||
return false;
|
||||
for (unsigned int i = 0; i < sz; ++i)
|
||||
if (std::tolower(a[i]) != std::tolower(b[i]))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static const char* gl2str(GLenum err)
|
||||
{
|
||||
switch (err)
|
||||
|
||||
Reference in New Issue
Block a user