:
; Copyright (C) 1997  WRQ, Inc.
; All Rights Reserved
;
; Do NOT edit this file.
;


;;
;; This is the Menu Definition File for the Reflection Window Manager. It 
;; defines the menus associated with the Reflection Window Manager and the 
;; mouse actions and keystrokes that can be used to control the Reflection 
;; Window Manager.  For instructions on how to edit this file, search for 
;; "Editing the Menu Definition File" in the online help.
;;

; RESOURCE DESCRIPTIONS :
; ---------------------

;
; menu definitions 
; ---------------------

(: ClientMenu
   (mwm-menu.make
    ("Reflection X" 	() () (f.title))
    ("X Client Manager"   () () (f.exec "rx.exe" "-fc"))
    ("Client Wizard"   	() () (f.exec "rxwizard.exe" ""))
    ("RX Settings"   		() () (f.exec "rx.exe" "-fs"))
    ("RX Help"   		() () (f.exec "winhlp32.exe" "-I_RWM_overview help\\enu\\rxuser.hlp"))
;    (""         		() () (f.separator))
;    ("Xterm"   		() () (f.exec "rx.exe" "-c unix.rxc"))
;    ("Aixterm"   		() () (f.exec "rx.exe" "-c aixterm.rxc"))
;    ("Hpterm"   		() () (f.exec "rx.exe" "-c hpux.rxc"))
;    ("Sun Xterm"   	() () (f.exec "rx.exe" "-c sun.rxc"))
;    ("Wordpad "   	() () (f.exec "c:\\program files\\accessories\\wordpad.exe" ""))
   ))

(: WindowMenu
   (mwm-menu.make
    ("Restore"	() ("F5" with-alt) 	(f.normalize))
    ("Move"	() ("F7" with-alt) 	(f.move))
    ("Size"	() ("F8" with-alt) 	(f.resize))
    ("Minimize" () ("F9" with-alt) 	(f.minimize))
    ("Maximize" () ("F10" with-alt) 	(f.maximize))
    ("Lower"    () ("F3" with-alt) 	(f.lower))
    (""   	() ()			(f.separator))
    ("Close"    () ("F4" with-alt) 	(f.delete))
   )
)

(: RootMenu
   (mwm-menu.make
    ("Reflection WM" 	() 	() 		(f.title))
    ("Shuffle Up" 		()	()		(f.circle_up))
    ("Shuffle Down" 	()	()		(f.circle_down))
    ("Refresh"	  		() 	()		(f.refresh))
   	("Pack Icons" 		() 	() 		(f.pack_icons))
    (""           		()	() 		(f.separator))
    ("Restart... " 		() 	() 		(f.restart))
   )
)

;
; Button Bindings 
; ---------------------

		
(: ButtonBindings
   (button-bindings-make
    ( (buttonpress 3 alone) (root) (f.menu RootMenu 3) )
    ( (buttonpress 3 alone) (icon frame) (f.menu WindowMenu 3) )
    ( (buttonpress 1 alone) (frame) (f.raise) )
    ( (buttonpress 1 alone) (icon) (f.move) )
    ( (buttonpress 1 alone) (root) (f.menu ClientMenu 1) )
   ))

;
; Key Bindings
; ---------------------


(: KeyBindings
 (key-bindings-make
    ( ("Escape" with-shift) 	(window icon) 	(f.circle_down))
    ( ("Escape" with-alt) 	(root window icon) (f.circle_down))
    ( ("Escape" (together with-alt with-shift)) (root window icon) (f.circle_up))
    ( ("F10" with-shift) 	(icon) 		(f.post_wmenu 1))
    ( ("Tab" (together with-shift with-alt))	(root icon window) (f.circle_down))
    ( ("Tab" with-alt)		(root icon window) (f.circle_up))
   ))

