示例#1
0
void  CListBoxRenderer::AddLayer(CTextureFrag* backLayer, CTextureFrag *selLayer)
{
    CListBox *listbox = static_cast<CListBox *>(m_pWindow); 
    CBaseRenderer::AddLayer(backLayer);

    CWindow *subSel = listbox->GetSubSelWin();
    CBaseRenderer* subrender = subSel->Renderer();
    subrender->AddLayer(selLayer);
}
示例#2
0
void  CListBoxRenderer::AddLayer(const TString &backTextName, const TString &selTextName)
{
    CListBox *listbox = static_cast<CListBox *>(m_pWindow); 
    CBaseRenderer::AddLayer(backTextName);

    CWindow *subSel = listbox->GetSubSelWin();
    CBaseRenderer* subrender = subSel->Renderer();
    subrender->AddLayer(selTextName);
}