-
This is a spring game's source code, is to use vc development, a great deal...
这是一个跳起游戏的源代码,是用vc开发 的,很有研究价值,-This is a spring game"s source code, is to use vc development, a great deal of research value
- 2023-08-01 00:20: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
-
StoneChess棋牌类游戏开发控件 一个很好的软件游戏作品 可以设置旗牌...
StoneChess棋牌类游戏开发控件 一个很好的软件游戏作品 可以设置旗牌-StoneChess dominoes game development controls a good game software can set the flag license
- 2023-03-12 01:45:03下载
- 积分:1
-
EP9315穿口里程
EP9315穿口里程-I wear mileage EP9315
- 2022-12-27 16:35:03下载
- 积分:1
-
彩色按钮源代码,可以显示漂亮的彩色按钮
彩色按钮源代码,可以显示漂亮的彩色按钮-source code can reveal beautiful color button
- 2022-05-13 03:28:29下载
- 积分:1
-
一个十分简单的按钮,不过,做起来很难的!最好有谁能可扩展扩展!谢谢各位的支持!...
一个十分简单的按钮,不过,做起来很难的!最好有谁能可扩展扩展!谢谢各位的支持!-a very simple button, but it will be very hard to do! Who could have the best scalable expansion! Thank you for your support!
- 2022-06-28 01:06:12下载
- 积分:1
-
VC编写的按纽控件,很有特点,可用于学习,也可用于你的个性化程序....
VC编写的按纽控件,很有特点,可用于学习,也可用于你的个性化程序.-VC prepared by the Control button, very unique and can be used to study, you also can be used to personalize the process.
- 2022-10-06 21:25:03下载
- 积分:1
-
只能输入数字的Swing文档模型。
28.
29. * 可以设置可以保存的数字的最大值和最小值...
只能输入数字的Swing文档模型。
28.
29. * 可以设置可以保存的数字的最大值和最小值
-can only import figures Swing document model. 28. 29.* Can be set to keep the figures of the maximum and minimum
- 2023-06-19 04:10:03下载
- 积分:1
-
设置含有图片的按钮控件,将位图加载到按钮控件上
设置含有图片的按钮控件,将位图加载到按钮控件上-Settings button control containing pictures will be loaded into the bitmap button control on the
- 2022-03-23 13:29:17下载
- 积分:1
-
可以捕捉鼠标指针,ctrl+右键释放,用C写的
可以捕捉鼠标指针,ctrl+右键释放,用C写的-Can capture the mouse pointer, ctrl right-release, written by C
- 2022-03-30 03:58:01下载
- 积分:1