scale the shadows up, they were /100 before, now they are /255
This commit is contained in:
parent
afac57ad00
commit
82be671c64
1 changed files with 4 additions and 4 deletions
|
@ -477,7 +477,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
i = parse_inline_number(p + strlen("shadowtint="));
|
i = parse_inline_number(p + strlen("shadowtint="));
|
||||||
j = (i > 0 ? 0 : 255);
|
j = (i > 0 ? 0 : 255);
|
||||||
i = ABS(i);
|
i = ABS(i*255/100);
|
||||||
COLOR6("window","active","label","text","shadow","primary",
|
COLOR6("window","active","label","text","shadow","primary",
|
||||||
j,j,j,i);
|
j,j,j,i);
|
||||||
}
|
}
|
||||||
|
@ -499,7 +499,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
i = parse_inline_number(p + strlen("shadowtint="));
|
i = parse_inline_number(p + strlen("shadowtint="));
|
||||||
j = (i > 0 ? 0 : 255);
|
j = (i > 0 ? 0 : 255);
|
||||||
i = ABS(i);
|
i = ABS(i*255/100);
|
||||||
COLOR6("window","inactive","label","text","shadow","primary",
|
COLOR6("window","inactive","label","text","shadow","primary",
|
||||||
j,j,j,i);
|
j,j,j,i);
|
||||||
}
|
}
|
||||||
|
@ -519,7 +519,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
i = parse_inline_number(p + strlen("shadowtint="));
|
i = parse_inline_number(p + strlen("shadowtint="));
|
||||||
j = (i > 0 ? 0 : 255);
|
j = (i > 0 ? 0 : 255);
|
||||||
i = ABS(i);
|
i = ABS(i*255/100);
|
||||||
COLOR5("menu","title","text","shadow","primary",j,j,j,i);
|
COLOR5("menu","title","text","shadow","primary",j,j,j,i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -542,7 +542,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
i = parse_inline_number(p + strlen("shadowtint="));
|
i = parse_inline_number(p + strlen("shadowtint="));
|
||||||
j = (i > 0 ? 0 : 255);
|
j = (i > 0 ? 0 : 255);
|
||||||
i = ABS(i);
|
i = ABS(i*255/100);
|
||||||
COLOR4("menu","inactive","shadow","primary",j,j,j,i);
|
COLOR4("menu","inactive","shadow","primary",j,j,j,i);
|
||||||
COLOR5("menu","active","text","shadow","primary",j,j,j,i);
|
COLOR5("menu","active","text","shadow","primary",j,j,j,i);
|
||||||
COLOR4("menu","disabled","shadow","primary",j,j,j,i);
|
COLOR4("menu","disabled","shadow","primary",j,j,j,i);
|
||||||
|
|
Loading…
Reference in a new issue