templates {
window button {
surfaces { fill bg; border is_focused; text txt }
sync(focus);
bg.col = parent.bg + rgb(40,40,40);
}
surface bitmap_and_text {
children { bitmap pict; gradient_text txt}
sync(self,hovering);
txt.bold = false;
}
}Listing 1