summaryrefslogtreecommitdiff
path: root/src/color.c
blob: 67c3fb8b990331b2c455657a8d5761ccd7fa38f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
NAME(color);
PARENT(trigger);

IMPL(enter) {
	if (this->color_group)
		setfgcolor(this->color.r / 255., this->color.g / 255.,
		           this->color.b / 255.);
	else
		setbgcolor(this->color.r / 255., this->color.g / 255.,
		           this->color.b / 255.);
}