QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1156|回复: 2

fvwm 按钮的绘制?

[复制链接]
发表于 2005-5-2 01:05:58 | 显示全部楼层 |阅读模式
我想 把fvwm右上角的按钮 绘制成 和 windows 那3个一样
最小 最大 和 关闭
应该怎么绘制阿 ??  代码怎么写?
其中关闭 已经知道了  谢谢
发表于 2005-5-4 13:09:26 | 显示全部楼层
#ButtonStyle 2 4 25x25@3 75x75@3  25x75@4  75x25@3
#ButtonStyle 4 5 30x30@1 30x70@3  70x70@3 70x30@3 30x30@3
#ButtonStyle 6 2 30x70@1 70x70@3   
#ButtonStyle 1 4 50x25@3 35x50@3  65x50@3 50x75@3

The Vector num  X[offsetp]xY[offsetp]@C  ... style draws a line pattern. Since this is a standard button style, the keyword Vector is optional, num is a number of point specifications of the form X[offsetp]xY[offsetp]@C  ... X and Y are point coordinates inside the button, given in percents (from 0 to 100). An optional absolute offset  in pixels, can be given as "+<offset>p" for a positive or "-<offset>p" for a negative offset.

C specifies a line color (0 - the shadow color, 1 - the highlight color, 2 - the background color, 3 - the foreground color, 4 - only move the point, do not draw). The first point color is not used. You can use up to 10000 points in a line pattern. This style is partially destructive.
回复

使用道具 举报

 楼主| 发表于 2005-5-4 13:52:12 | 显示全部楼层
哦  感谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-21 00:30 , Processed in 0.072031 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表