public void Draw() { if (_TextureName != String.Empty) { CDraw.DrawTexture(CTheme.GetSkinTexture(_TextureName), _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha)); } else { CDraw.DrawTexture(_Texture, _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha)); } }
public void Load(string VideoName) { _VideoStream = CVideo.VdLoad(CTheme.GetVideoFilePath(VideoName)); _Loaded = true; }