Hi, if anyone is interested to test this out I am posting it here. It
is a patch to allow one to put a pixmap file on an Fvwm button. It
centers [small] pixmaps, supports transparency and a different pixmap
for the "down" state. See the patched Fvwm.tmpl file near -DSHAPE for
more info on how to use it. It also should be backward compatible
with the original ButtonStyle directive.
I tried it on a few platforms but was having at one point having some
seemingly odd problems on AIX (3.2, not sure if it was because of the
local setup, but under different compiling circumstances,
e.g. compiling _with_ -g it worked) so if anyone wants to try it
please test it with care (please report problems here; patches against
fvwm-2.0.41):
begin 644 fvwm-pxp2.diff.gz
M'XL(`(9X*S$"`^T[:U/;2K*?X5?,X51\+2R#)>P`=IQ-0D(.=4-"!;8.NRF*
M$M88JR)+7DG&^!+_]]O=,R.-9-D6V9P/6[5.\&.FNV>FIZ=?TW*]X9`UIQ';
M3\:3_3#R[O>'#[-QT]YK[;6M_5/XO_at_<]/BMMW6XVFYLPMRZG`3OE=\PZ8E:[
M:Q]V;9M9Q\<OMQN-1CG9K3^Y2RBVA2AMJVN_%"AOWK"F91^;QZR!'W:'O7FS
MS=_at_NFW'?9X-P//%\SI*1%S/^F/`@]L*`>8')8B\88`=G8SX.HSG`Q_at_D#,#;V
M`F_L^`!%A`AWX,2<U:\`.AXY$YC,S`O<<(:_(OCE>W<Q-,&(=YSYH>-"FQ/,
M9\[<V&-G0S8/IT3+#8/_25_at_01D#?G[,I$'7R%$V$92/G`>86,I<//)>S81AA
M<Q1S?[C=8+OJCS7?7YQ=G[^]N'WW]ZNK+Y\OTXZWOA_.8AH_at_'-(J+[S'L3.)
M&2P?V<KNIDD2!_at_CB!?<P64(C%N'D'WA$G`+D=P1XF<Q]OL?8%7(CG"3$1J0&
MRR#4!\?W7.8-V?5DS.+I9!)&Q$ZY!=`5L'K,8<%WX0,W]_at_CI!#J=Q+OS?"^9
M`P>2$<TU]%U8^A#V_at_<89(K^(V"3B,8\>N&N*06<CW%TO2*+0G0YP(8@^#''U
M^$M_at_=E.V:&MAMF0)NTL":^]Q,EZ":!<AZ(NC8.4,>"3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)YX)=.,%IY(PQ.E,;@4H0Y0L%_at_6-2
M^(FTONX6FJRB:ZHG-LQE#<-RR0100BPK8Z('8$DC5QI+S3A.HND_at_8=((2ZD3
M"9%4B^)9FID,#>=BZ6G(GKY^02U'3"M/FX)<R[K:/!VL:2FM6]EFA7E>TKZ=
M!<-P&Y])2!\FQQ"S<ZB4"&/G\],09BVD$K]BGFP+`C6LOI/$,".$6E4^&$Z%
MR72MD^&3VI'8(H6&"*1Z?><.[:,`K[B]$//I`6`O7WT.U`$_at_"84'ETMNQBL>
M&`5XK/P&4F!&4WPJB<4H2EB-<?C`Z2GFB,=HY,64`?0/+WT"HE_at_)+V_at_A]@C"
M+<I.9(_01X2ETTD?EG_at_6G9BPD`YMX]&1>02VP+9,R]:*W$ZF$032R7L.TEBD
MC8_W#T0_<P$_at_"2?JLEO,C_at_A([^4T'$SC7IY`ZEH-L3.[<5<)(2PJUFL$4*5S
M)V#Y?(_5NND)>A[644^Y\,DQFP14$_#B*5^D[_at_RSAX,)7347SG*^+@^'2&M"
MA!901`+.70P+F$L5D?LIF%!!:6DA]M:SS):AL:AX%=O):_at_#SUZV=FV]VJ]`Y
M+W;2;AX?"<O>R?(^B%&XDB[0*]Q#E_9JZ0'5_XQ$33YSF7*,+>DCE_at_^<!?^+
2)Q!-0J:2,$GQ_YM:<YN-0P``
`
end
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Feb 28 1996 - 20:17:49 GMT