Re: FVWM: animated resize

From: Mario Domgörgen <kanaldrache_at_gmx.de>
Date: Tue, 16 Sep 2003 18:57:42 +0200

KONTRA Gergely <kgergely_at_mlabdial.hit.bme.hu> writes:
>
> If there's animated move, that do fvwm users have animated resize?
> Anyway. How to resize a window relatively to current size?
> Eg how to grow the window by 10 percent of window/screen?

I use the following:

Key KP_Next A S4 ResizeCenter br w+5 w+5
Key KP_Home A S4 ResizeCenter br w-5 w-5
Key KP_Left A S4 ResizeCenter br w-5 keep
Key KP_Right A S4 ResizeCenter br w+5 keep
Key KP_Up A S4 ResizeCenter br keep w-5
Key KP_Down A S4 ResizeCenter br keep w+5

DestroyFunc CenterWindow
AddToFunc CenterWindow
+ I ThisWindow Piperead "echo Move \
      $(( $[vp.width]/2-$[w.width]/2 ))p \
      $(( $[vp.height]/2-$[w.height]/2 ))p"


DestroyFunc ResizeCenter
AddToFunc ResizeCenter
+ "I" Resize $0 $1 $2
+ "I" CenterWindow

BTW: What is a animated resize?

Mario

-- 
Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Sep 16 2003 - 12:00:39 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST