-
XP Style CBitmapButton (CHoverBitmapButton) Style and theme aware bitmaps, give...
XP Style CBitmapButton (CHoverBitmapButton) Style and theme aware bitmaps, give your old apps a new look under Windows XP.
- 2022-03-01 11:08:02下载
- 积分:1
-
可以是任意复杂形状的按钮
可以是任意复杂形状的按钮-The button whichs shape can be complicate at wi
- 2023-09-09 15:00:03下载
- 积分:1
-
GlowButton - 发光的按钮控件
翻译 maninwest@Codeforge 作者:John Underhill @ Codeproject最近我在查看 KMP Player 软件上的一些图形元素(如果你想看看好的图形设计,我建议你也查看一下)。我在项目中需要的是一个简单的发光按钮控件,用于玩家控制的,这不是什么太神奇的东西,只是在鼠标悬停时能够改变颜色。让图像更改颜色很简单,只需修改 ImageAttribute 的颜色矩阵:private void DrawColoredImage(Graphics g, Image img, Rectangle bounds, Color clr)
{
using (ImageAttributes ia = new ImageAttributes())
{
ColorMatrix cm = new ColorMatrix();
// convert and refactor color palette
cm.Matrix00 = ParseColor(clr.R);
cm.Matrix11 = ParseColor(clr.G);
cm.Matrix22 = ParseColor(clr.B);
cm.Matrix33 = ParseColor(clr.A);
cm.Matrix44 = 1f;
// set matrix
ia.SetColorMatrix(cm);
// draw
g.DrawImage(img, bounds, 0, 0, img.Width,
img.Height, GraphicsUnit.Pixel, ia);
}
}示例代码中的 ParseColor 会将位转化为浮点值。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-07-25 02:55:04下载
- 积分:1
-
非常好用的delphi6.0控件,解压缩就可以使用。
非常好用的delphi6.0控件,解压缩就可以使用。-delphi6.0 very user-friendly controls, decompress it can be used.
- 2022-04-11 23:13:42下载
- 积分:1
-
多视图的切分,解决单一视图的信息的缺乏,能给你呈现更多的内容。...
多视图的切分,解决单一视图的信息的缺乏,能给你呈现更多的内容。-Multi-View Cut, single view to solve the lack of information, you can show more content.
- 2023-05-15 23:30:02下载
- 积分:1
-
本源码是基于Visual C++的,是一种Hot按钮,这种按钮有它独特的一面...
本源码是基于Visual C++的,是一种Hot按钮,这种按钮有它独特的一面-this source is based on Visual C, and it is a Hot button, the button has its unique side
- 2022-02-13 21:54:39下载
- 积分:1
-
irregularly shaped button
形状不规则的按纽-irregularly shaped button
- 2022-03-03 06:14:12下载
- 积分:1
-
又一个按住后会不断发出命令的按钮
又一个按住后会不断发出命令的按钮-A button which will send commands continuous when be clicked
- 2023-05-01 13:00:03下载
- 积分:1
-
本代码例子提供了实现三角形按钮绘制的实现。
本代码例子提供了实现三角形按钮绘制的实现。-the code examples for achieving triangle button mapping is achieved.
- 2022-05-28 06:31:18下载
- 积分:1
-
在lcd12864上画线,控制器用的是arm,调试环境是iar
在lcd12864上画线,控制器用的是arm,调试环境是iar-in lcd12864 painted lines, the controller is used arm, debugging environment is Advocacy
- 2022-03-19 23:42:12下载
- 积分:1