Support runtime colour change

This commit is contained in:
Lea Anthony
2020-09-23 08:48:11 +10:00
parent 52bb397105
commit 15c08ef425
5 changed files with 25 additions and 13 deletions

View File

@@ -115,7 +115,7 @@ func (c *Client) WindowSize(width int, height int) {
// WindowSetColour sets the window colour
func (c *Client) WindowSetColour(colour int) {
r, b, g, a := intToColour(colour)
r, g, b, a := intToColour(colour)
C.SetColour(c.app.app, r, g, b, a)
}