# 1. Icon related configuration
# 2. Switch functions
# 3. Theme module menus
# 4. Modules configuration

# ----------------------------------------------------------------------------
# Icon related configuration

Style "*" IconBox screen w 10 5 -130 700, IconGrid 64 10, IconFill left top
Style "*" SlipperyIcon, IconTitle

# ----------------------------------------------------------------------------
# Switch functions

DestroyFunc FuncFvwmStartThemeModules
AddToFunc   FuncFvwmStartThemeModules
+ I FuncFvwmStartChosenIconMan
+ I FuncFvwmStartChosenButtons
+ I FuncFvwmStartChosenPager
+ I FuncFvwmStartNormalIcons

DestroyFunc FuncFvwmReloadThemeModules
AddToFunc   FuncFvwmReloadThemeModules
+ I Read $./styles
+ I FuncFvwmStartNormalIcons

DestroyFunc FuncFvwmReloadColorsModules
AddToFunc   FuncFvwmReloadColorsModules
+ I FuncFvwmStartChosenButtons

DestroyFunc FuncFvwmStopThemeModules
AddToFunc   FuncFvwmStopThemeModules
+ I FuncFvwmStopModuleByAlias FvwmButtons FvwmButtons-XX
+ I KillModule FvwmPager
+ I KillModule FvwmIconMan
+ I DestroyModuleConfig FvwmButtons-XX: *
+ I DestroyModuleConfig FvwmPager-Single: *
+ I DestroyModuleConfig FvwmPager-Desker: *
+ I DestroyModuleConfig FvwmIconMan: *
+ I DestroyFunc FuncFvwmStartNormalIcons
+ I DestroyFunc FuncFvwmButtons-XXNext
+ I DestroyFunc FuncFvwmButtons-XXPrev
+ I DestroyFunc FuncFvwmIconManWarpToMiddle
+ I DestroyFunc FuncFvwmIconFocusAndOptions
+ I FuncFvwmModulesDestroyStyle
+ I DestroyFunc FuncFvwmModulesDestroyStyle

DestroyFunc FuncFvwmUnReloadColorsModules
AddToFunc   FuncFvwmUnReloadColorsModules
+ I FuncFvwmStopModuleByAlias FvwmButtons FvwmButtons-XX

DestroyFunc FuncFvwmUnReloadThemeModules
AddToFunc   FuncFvwmUnReloadThemeModules

# ----------------------------------------------------------------------------
# Theme module menus

DestroyMenu MenuFvwmStartThemeModules
AddToMenu   MenuFvwmStartThemeModules "BlackBox Modules" Title
+ "%menu/item.xpm%&XXButtons" FuncFvwmRestartModuleByAlias FvwmButtons FvwmButtons-XX
+ "%menu/item.xpm%&Desker"    FuncFvwmRestartModuleByAlias FvwmPager FvwmPager-Desker '0 3'

DestroyMenu MenuFvwmStopThemeModules
AddToMenu   MenuFvwmStopThemeModules "BlackBox Modules" Title
+ "%menu/quit.xpm%Stop &XXButtons" FuncFvwmStopModuleByAlias FvwmButtons FvwmButtons-XX
+ "%menu/quit.xpm%Stop &Desker"    FuncFvwmStopModuleByAlias FvwmPager FvwmPager-Desker

# ----------------------------------------------------------------------------
# Modules configuration

Read $./styles
Read $./FvwmPager-Single
Read $./FvwmPager-Desker
Read $./FvwmIconMan
Read $./FvwmButtons-XX
Read $./fonts
