📄 emoticon.cs
字号:
namespace Imps.Client.Resource
{
using Imps.Utils;
using System;
using System.Drawing;
public class Emoticon
{
private Imps.Utils.AmigoImage _image;
private string _key;
private string _name;
private string _srcKey;
private System.Drawing.Image _staticImage;
public Emoticon(string key, System.Drawing.Image staticImage, System.Drawing.Image dynamicImage, string name, int circles)
{
this._key = key;
this._image = new Imps.Utils.AmigoImage(dynamicImage, circles, staticImage);
this._name = name;
this._staticImage = staticImage;
}
public Emoticon(string key, System.Drawing.Image staticImage, System.Drawing.Image dynamicImage, string name, int circles, bool isImgSpeed1ST)
{
this._key = key;
this._image = new Imps.Utils.AmigoImage(dynamicImage, circles, staticImage, isImgSpeed1ST);
this._name = name;
this._staticImage = staticImage;
}
public Imps.Utils.AmigoImage AmigoImage
{
get
{
return this._image;
}
}
public string Description
{
get
{
return string.Format("{0} {1}", this._name, this.Key);
}
}
public System.Drawing.Image Image
{
get
{
return this._image.CurrentImage;
}
}
public string Key
{
get
{
return this._key;
}
}
public string Name
{
get
{
return this._name;
}
}
public string SrcKey
{
get
{
return this._srcKey;
}
set
{
this._srcKey = value;
}
}
public System.Drawing.Image StaticImage
{
get
{
return this._staticImage;
}
set
{
this._staticImage = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -