|
68 | 68 |
|
69 | 69 | --- Sets the background color of this window primitive. If this primitive |
70 | 70 | -- was using a shared color, then it creates a new, personal color. |
71 | | --- @param r The red value, or a quoted color name, like "green". |
| 71 | +-- @param r The red value, or a quoted color name, like "green", or a decho color like "<0,255,0>", or hex color like "#00ff00" |
72 | 72 | -- @param g The green value, or nil if using a name. |
73 | 73 | -- @param b The blue value, or nil if using a name. |
74 | 74 | function Geyser.Window:setBgColor (r, g, b) |
|
77 | 77 |
|
78 | 78 | --- Sets the foreground color of this window primitive. If this primitive |
79 | 79 | -- was using a shared color, then it creates a new, personal color. |
80 | | --- @param r The red value, or a quoted color name, like "green". |
| 80 | +-- @param r The red value, or a quoted color name, like "green", or a decho color like "<0,255,0>", or hex color like "#00ff00" |
81 | 81 | -- @param g The green value, or nil if using a name. |
82 | 82 | -- @param b The blue value, or nil if using a name. |
83 | 83 | function Geyser.Window:setFgColor (r, g, b) |
|
86 | 86 |
|
87 | 87 | --- Sets the background color and alpha. If this primitive |
88 | 88 | -- was using a shared color, then it creates a new, personal color. |
89 | | --- @param r The red component of the color, or a named color like "green". |
| 89 | +-- @param r The red component of the color, or a named color like "green", or a decho color like "<0,255,0>", or hex color like "#00ff00" |
90 | 90 | -- @param g The green component, or nil if using named colors. |
91 | 91 | -- @param b The blue component, or nil if using named colors. |
92 | 92 | -- @param a The alpha component. If nil, uses current alpha value. |
|
0 commit comments