pslist 发表于 2005-5-2 01:05:58

fvwm 按钮的绘制?

我想 把fvwm右上角的按钮 绘制成 和 windows 那3个一样
最小 最大 和 关闭
应该怎么绘制阿 ??代码怎么写?
其中关闭 已经知道了谢谢

liqizxz 发表于 2005-5-4 13:09:26

#ButtonStyle 2 4 25x25@3 75x75@325x75@475x25@3
#ButtonStyle 4 5 30x30@1 30x70@370x70@3 70x30@3 30x30@3
#ButtonStyle 6 2 30x70@1 70x70@3   
#ButtonStyle 1 4 50x25@3 35x50@365x50@3 50x75@3

The Vector numXxY@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 XxY@C... X and Y are point coordinates inside the button, given in percents (from 0 to 100). An optional absolute offsetin 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.

pslist 发表于 2005-5-4 13:52:12

哦感谢
页: [1]
查看完整版本: fvwm 按钮的绘制?