(color: string)
| 49 | }; |
| 50 | |
| 51 | function parseCoglColor(color: string): Cogl.Color { |
| 52 | const c = new Cogl.Color(); |
| 53 | c.init_from_4f( |
| 54 | parseInt(color.substring(1, 3), 16), |
| 55 | parseInt(color.substring(3, 5), 16), |
| 56 | parseInt(color.substring(5, 7), 16), |
| 57 | 255 |
| 58 | ); |
| 59 | return c; |
| 60 | } |
| 61 | |
| 62 | export class MsThemeManager extends MsManager { |
| 63 | themeContext: St.ThemeContext; |
no test coverage detected