| 348 | } |
| 349 | |
| 350 | bool Engine::SetProperties( const std::string& properties ) { |
| 351 | auto theme = parser::theme::ParseString( properties ); |
| 352 | |
| 353 | if( theme.empty() ) { |
| 354 | return false; |
| 355 | } |
| 356 | |
| 357 | ParseTheme( theme ); |
| 358 | |
| 359 | if( m_auto_refresh ) { |
| 360 | Widget::RefreshAll(); |
| 361 | } |
| 362 | |
| 363 | return true; |
| 364 | } |
| 365 | |
| 366 | void Engine::ClearProperties() { |
| 367 | m_properties.clear(); |