#include <definitions>
/*
******************************************************************************
* Internally used and looked for actions
******************************************************************************
* ACTION_BUTTON_DRAG is looked for by e to determine what "action" by a user
* will be applied to every button to start a button drag. if u dont like just
* moving and dragging (in case you accidentally keep doing it to buttons)
* add a modifer like alt, so u need to hold alt down whilst dragging to
* actually drag the button around
*/
__ACLASS __BGN
  __NAME ACTION_BUTTON_DRAG
  __TOOLTIP_TEXT "Click and drag to move desktop"
  __TOOLTIP_TEXT "(on any desktop but desktop 0)"
  __TYPE __TYPE_NORMAL
  __BUTTON 2
  __ALLOW_ANY_KEY __ON
  __EVENT __MOUSE_PRESS
  __ACTION __A_DRAG_BUTTON
__END

/*
******************************************************************************
* Actionclasses for buttons
******************************************************************************
*/
__ACLASS __BGN
  __NAME ACTION_SEND_DONE
  __TOOLTIP_TEXT "Send this Window to desktop 1."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_SEND_TO_DESK 1
__END

__ACLASS __BGN
  __NAME ACTION_SEND_DTWO
  __TOOLTIP_TEXT "Send this Window to desktop 2."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_SEND_TO_DESK 2
__END

__ACLASS __BGN
  __NAME ACTION_MOVE
  __TOOLTIP_TEXT "LMB = Move window."
  __TOOLTIP_TEXT "RMB = Resize Vertically."
  __TOOLTIP_TEXT "MMB / DoubleClick = Shade/UnShade"
  __TOOLTIP_TEXT "MB 4 = (Un)Maximize Vertically"
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_PRESS
  __BUTTON 1
  __ACTION __A_MOVE
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 3
  __ACTION __A_RESIZE_V
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 2
  __ACTION __A_SHADE
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 4
  __ACTION __A_MAX_HEIGHT conservative
  __NEXT_ACTION
  __EVENT __DOUBLE_CLICK
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_SHADE
__END

__ACLASS __BGN
  __NAME ACTION_RESIZE
  __TOOLTIP_TEXT "LMB = Move window"
  __TOOLTIP_TEXT "RMB = Resize window"
  __TOOLTIP_TEXT "MB 4 = (Un)Maximize"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_PRESS
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_MOVE
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_RESIZE
  __NEXT_ACTION
  __EVENT __MOUSE_RELEASE
  __BUTTON 4
  __ACTION __A_MAX_SIZE conservative
__END

__ACLASS __BGN
  __NAME ACTION_RESIZE_H
  __TOOLTIP_TEXT "LMB = Move window"
  __TOOLTIP_TEXT "RMB = Resize horizontally"
  __TOOLTIP_TEXT "MB 4 = (Un)Maximize horizontally"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_PRESS
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_MOVE
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_RESIZE_H
  __NEXT_ACTION
  __BUTTON 4
  __EVENT __MOUSE_RELEASE
  __ACTION __A_MAX_WIDTH conservative
__END

__ACLASS __BGN
  __NAME ACTION_RESIZE_V
  __TOOLTIP_TEXT "LMB = Move window"
  __TOOLTIP_TEXT "RMB = Resize vertically"
  __TOOLTIP_TEXT "MB 4 = (Un)Maximize vertically"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_PRESS
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_MOVE
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_RESIZE_V
  __NEXT_ACTION
  __BUTTON 4
  __EVENT __MOUSE_RELEASE
  __ACTION __A_MAX_HEIGHT conservative
__END



__ACLASS __BGN
  __NAME ACTION_KILL
  __TOOLTIP_TEXT "LMB = Kill window"
  __TOOLTIP_TEXT "RMB = Force destroy window."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_KILL
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_KILL_NASTY
__END




/*
__ACLASS __BGN
  __NAME ACTION_MAXH
  __TOOLTIP_TEXT "Maximize / Reset windowHEIGHT"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_MAX_HEIGHT conservative
__END

__ACLASS __BGN
  __NAME ACTION_MAXW
  __TOOLTIP_TEXT "Toggle the width of this window between maximum screen width"
  __TOOLTIP_TEXT "and normal width."
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_MAX_WIDTH conservative
__END

__ACLASS __BGN
  __NAME ACTION_MAX
  __TOOLTIP_TEXT "Maximize / Reset window size"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_MAX_SIZE conservative
__END
*/



__ACLASS __BGN
  __NAME ACTION_GOTO_DESK_NEXT
  __TOOLTIP_TEXT "Go to the next Desktop."
  __TYPE __TYPE_NORMAL
  __ALLOW_ANY_BUTTON __ON
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __EVENT __MOUSE_RELEASE
  __ACTION __A_DESKTOP_NEXT
__END

__ACLASS __BGN
  __NAME ACTION_GOTO_DESK_PREV
  __TOOLTIP_TEXT "Go to the previous Desktop."
  __TYPE __TYPE_NORMAL
  __ALLOW_ANY_BUTTON __ON
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __EVENT __MOUSE_RELEASE
  __ACTION __A_DESKTOP_PREV
__END

__ACLASS __BGN
  __NAME ACTION_SEND_NEXT
  __TOOLTIP_TEXT "Send this Window to the next desktop."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_SEND_TO_NEXT_DESK
__END

__ACLASS __BGN
  __NAME ACTION_SEND_PREV
  __TOOLTIP_TEXT "Send this Window to the previous desktop."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_SEND_TO_PREV_DESK
__END

__ACLASS __BGN
  __NAME ACTION_SNAPSHOT
  __TOOLTIP_TEXT "This button does nothing interesting."
  __TYPE __TYPE_NORMAL
  __ALLOW_ANY_BUTTON __ON
  __EVENT __MOUSE_RELEASE
  __ACTION __A_SNAPSHOT
__END

__ACLASS __BGN
  __NAME ACTION_SHADE
  __TOOLTIP_TEXT "This button toggles the shaded (Rolled up) state of this Window."
  __TYPE __TYPE_NORMAL
  __ALLOW_ANY_BUTTON __ON
  __EVENT __MOUSE_RELEASE
  __ACTION __A_SHADE
__END


__ACLASS __BGN
  __NAME ACTION_MENU
  __TOOLTIP_TEXT "Window Options Menu"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 2
  __ACTION __A_LOWER
  __NEXT_ACTION
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __EVENT __MOUSE_PRESS
  __BUTTON 1
  __ACTION __A_SHOW_MENU "named WINOPS_MENU"
  __NEXT_ACTION
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __EVENT __MOUSE_PRESS
  __BUTTON 3
  __ACTION __A_SHOW_MENU "named WINOPS_MENU"
__END


/*
__ACLASS __BGN
  __NAME ACTION_ICONIFY
  __TOOLTIP_TEXT "Iconify (minimize)"
  __TYPE __TYPE_NORMAL
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __EVENT __MOUSE_RELEASE
  __BUTTON 1
  __ACTION __A_ICONIFY
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 3
  __ACTION __A_SHOW_MENU "named WINOPS_MENU"
__END

__ACLASS __BGN
  __NAME ACTION_WINDOW_SLIDEOUT
  __TOOLTIP_TEXT "Click on this button to bring up a bar of more buttons to control"
  __TOOLTIP_TEXT "the Window with."
  __TYPE __TYPE_NORMAL
  __ALLOW_ANY_BUTTON __ON
  __EVENT __MOUSE_RELEASE
  __ACTION __A_SLIDEOUT mainwindowslider
__END

__ACLASS __BGN
  __NAME ACTION_RAISE
  __TOOLTIP_TEXT "Click on this button to raise this window to the top."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_RAISE
__END

__ACLASS __BGN
  __NAME ACTION_LOWER
  __TOOLTIP_TEXT "Click here to lower this window."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_LOWER
__END

__ACLASS __BGN
  __NAME ACTION_STICK
  __TOOLTIP_TEXT "Click on this button to toggle the sticky (is visible on all"
  __TOOLTIP_TEXT "Desktops) state of this window. The border will look different"
  __TOOLTIP_TEXT "when the window is sticky."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ALLOW_ANY_BUTTON __ON
  __ACTION __A_STICK
__END
*/









/* DESKTOP BUTTONS */

__ACLASS __BGN
  __NAME ACTION_FILETERM
  __TOOLTIP_TEXT "Filers and Terms:"
  __TOOLTIP_TEXT "Button 1 (LMB): konsole"
  __TOOLTIP_TEXT "Button 2 (MMB): gnome run window"
  __TOOLTIP_TEXT "Button 3 (RMB): gentoo filemanager"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_EXEC konsole
  __NEXT_ACTION
  __BUTTON 2
  __ACTION __A_EXEC gnome-run
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_EXEC gentoo
__END

/*
__ACLASS __BGN
  __NAME ACTION_FILETERM_L
  __TOOLTIP_TEXT "Filers and Terms:"
  __TOOLTIP_TEXT "Button 1 (LMB): konsole"
  __TOOLTIP_TEXT "Button 2 (MMB): gnome run window"
  __TOOLTIP_TEXT "Button 3 (RMB): gentoo filemanager"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_EXEC konsole -geometry 80x50+0+0
  __NEXT_ACTION
  __BUTTON 2
  __ACTION __A_EXEC gnome-run -geometry 512x730+0+0
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_EXEC gentoo -geometry 512x730+0+0
__END
*/


__ACLASS __BGN
  __NAME ACTION_TXTED
  __TOOLTIP_TEXT "Text editors and such:"
  __TOOLTIP_TEXT "Button 1 (LMB): gEdit"
  __TOOLTIP_TEXT "Button 2 (MMB): cooledit"
  __TOOLTIP_TEXT "Button 3 (RMB): GXEdit"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_EXEC gedit
  __NEXT_ACTION
  __BUTTON 2
  __ACTION __A_EXEC cooledit -geometry 80x50+0+0
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_EXEC gxedit
__END

__ACLASS __BGN
  __NAME ACTION_INET
  __TOOLTIP_TEXT "Internet apps:"
  __TOOLTIP_TEXT "Button 1 (LMB): netscape"
  __TOOLTIP_TEXT "Button 2 (MMB): kppp"
  __TOOLTIP_TEXT "Button 3 (RMB): kmail"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_EXEC netscape
  __NEXT_ACTION
  __BUTTON 2
  __ACTION __A_EXEC kppp
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_EXEC kmail
__END

__ACLASS __BGN
  __NAME ACTION_GFX
  __TOOLTIP_TEXT "GFX apps:"
  __TOOLTIP_TEXT "Button 1 (LMB): gimp"
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_EXEC gimp
__END

__ACLASS __BGN
  __NAME ACTION_TIME
  __TOOLTIP_TEXT "Time trackers and organizers:"
  __TOOLTIP_TEXT "Button 1 (LMB): gnome timetracker"
  __TOOLTIP_TEXT "Button 2 (MMB): gnomeCalendar"
  __TOOLTIP_TEXT "Button 3 (RMB): ..."
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_RELEASE
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __BUTTON 1
  __ACTION __A_EXEC gtt
  __NEXT_ACTION
  __BUTTON 2
  __ACTION __A_EXEC gnomecal
  __NEXT_ACTION
  __BUTTON 3
  __ACTION __A_EXEC . .
__END
