示例#1
0
 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));
     }
 }
示例#2
0
 public void Load(string VideoName)
 {
     _VideoStream = CVideo.VdLoad(CTheme.GetVideoFilePath(VideoName));
     _Loaded      = true;
 }