onst</span> IUIDescription* description)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">new</span> MyView (); }</div><div class="line"></div><div class="line">    <span class="comment">// apply custom attributes to your view     </span></div><div class="line">    <span class="keywordtype">bool</span> apply (CView* view, <span class="keyword">const</span> UIAttributes&amp; attributes, <span class="keyword">const</span> IUIDescription* description)<span clas