| 106 | } |
| 107 | |
| 108 | StyleSheet StyleSheet::getAllWithMarkers() const { |
| 109 | StyleSheet style; |
| 110 | std::vector<std::shared_ptr<StyleSheetStyle>> hits; |
| 111 | for ( auto node : mNodes ) { |
| 112 | if ( node->getMarker() != 0 ) |
| 113 | style.addStyle( node ); |
| 114 | } |
| 115 | return style; |
| 116 | } |
| 117 | |
| 118 | bool StyleSheet::markerExists( const Uint32& marker ) const { |
| 119 | for ( auto node : mNodes ) { |