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

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

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

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

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

DestroyFunc FuncFvwmStopThemeModules
AddToFunc   FuncFvwmStopThemeModules
+ I KillModule FvwmButtons
+ 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 FuncFvwmDestroyModulesThemeStyle
+ I DestroyFunc FuncFvwmDestroyModulesThemeStyle

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

DestroyMenu MenuFvwmStartThemeModules
AddToMenu   MenuFvwmStartThemeModules "BlackBox Modules" Title
+ "&XXButtons" 	FuncFvwmRestartModuleByAlias FvwmButtons FvwmButtons-XX
+ "&Desker"     FuncFvwmRestartModuleByAlias FvwmPager FvwmPager-Desker '0 3'

DestroyMenu MenuFvwmStopThemeModules
AddToMenu   MenuFvwmStopThemeModules "BlackBox Modules" Title
+ "Stop &XXButtons" FuncFvwmStopModuleByAlias FvwmButtons FvwmButtons-XX
+ "Stop &Desker"    FuncFvwmStopModuleByAlias FvwmPager FvwmPager-Desker

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

Read themes/blackbox/modules/main:styles
Read themes/blackbox/modules/main:FvwmPager-Single
Read themes/blackbox/modules/main:FvwmPager-Desker
Read themes/blackbox/modules/main:FvwmIconMan
Read themes/blackbox/modules/main:FvwmButtons-XX
