| 18 | } |
| 19 | |
| 20 | void CUIRadioButton::InitTexture(LPCSTR tex_name) |
| 21 | { |
| 22 | CUI3tButton::InitTexture(tex_name); |
| 23 | Frect r = m_background.GetE()->GetStaticItem()->GetRect(); |
| 24 | CUI3tButton::SetTextX(r.width()); |
| 25 | CUI3tButton::Init(GetWndPos().x, GetWndPos().y, GetWidth(), r.height() - 5); |
| 26 | m_pLines->Init(GetWndPos().x, GetWndPos().y, GetWidth(), m_background.GetE()->GetStaticItem()->GetRect().height()); |
| 27 | } |