| 73 | } |
| 74 | |
| 75 | void CUIStatic::SetClrLightAnim(LPCSTR lanim, bool bCyclic, bool bOnlyAlpha, bool bTextColor, bool bTextureColor) |
| 76 | { |
| 77 | if (lanim && lanim[0] != 0) |
| 78 | m_lanim_clr.m_lanim = LALib.FindItem(lanim); |
| 79 | else |
| 80 | m_lanim_clr.m_lanim = NULL; |
| 81 | |
| 82 | m_lanim_clr.m_lanimFlags.zero(); |
| 83 | |
| 84 | m_lanim_clr.m_lanimFlags.set(LA_CYCLIC, bCyclic); |
| 85 | m_lanim_clr.m_lanimFlags.set(LA_ONLYALPHA, bOnlyAlpha); |
| 86 | m_lanim_clr.m_lanimFlags.set(LA_TEXTCOLOR, bTextColor); |
| 87 | m_lanim_clr.m_lanimFlags.set(LA_TEXTURECOLOR, bTextureColor); |
| 88 | } |
| 89 | |
| 90 | void CUIStatic::Init(LPCSTR tex_name, float x, float y, float width, float height) |
| 91 | { |
no test coverage detected