Update UI with new options. Left logging commented out because it might not be a feature that should be advertised.

This commit is contained in:
Joshua Fuhs 2012-06-30 12:57:20 -04:00
parent 809d91868a
commit 4ad41cb813

View file

@ -214,8 +214,10 @@ Bar_initCmdGui() {
TV_Add("rotate master axis", itemId20) TV_Add("rotate master axis", itemId20)
TV_Add("rotate stack axis", itemId20) TV_Add("rotate stack axis", itemId20)
TV_Add("mirror tile layout", itemId20) TV_Add("mirror tile layout", itemId20)
TV_Add("increase master split", itemId20) TV_Add("increase master X", itemId20)
TV_Add("decrease master split", itemId20) TV_Add("decrease master X", itemId20)
TV_Add("increase master Y", itemId20)
TV_Add("decrease master Y", itemId20)
TV_Add("increase master factor", itemId20) TV_Add("increase master factor", itemId20)
TV_Add("decrease master factor", itemId20) TV_Add("decrease master factor", itemId20)
itemId30 := TV_Add("View") itemId30 := TV_Add("View")
@ -229,6 +231,12 @@ Bar_initCmdGui() {
TV_Add("toggle task bar", itemId40) TV_Add("toggle task bar", itemId40)
TV_Add("activate next", itemId40) TV_Add("activate next", itemId40)
TV_Add("activate prev", itemId40) TV_Add("activate prev", itemId40)
;itemId50 := TV_add("Log")
; TV_Add("increment debug level", itemId50)
; TV_Add("decrement debug level", itemId50)
; TV_Add("log help info", itemId50)
; TV_Add("log view window info", itemId50)
; TV_Add("log managed window info", itemId50)
TV_Add("Reload") TV_Add("Reload")
TV_Add("Quit") TV_Add("Quit")
GuiControl, +Redraw, Bar_#0_#0 GuiControl, +Redraw, Bar_#0_#0
@ -353,6 +361,17 @@ Bar_evaluateCommand() {
Manager_activateMonitor(+1) Manager_activateMonitor(+1)
Else If (Bar_command_#1 = "activate prev") Else If (Bar_command_#1 = "activate prev")
Manager_activateMonitor(-1) Manager_activateMonitor(-1)
} Else If (Bar_command_#2 = "Log") {
If (Bar_command_#1 = "increment debug level")
Manager_incDebugLevel()
If (Bar_command_#1 = "decrement debug level")
Manager_decDebugLevel()
If (Bar_command_#1 = "log help info")
Manager_logHelp()
If (Bar_command_#1 = "log view window info")
Manager_logViewWindowList()
If (Bar_command_#1 = "log managed window info")
Manager_logManagedWindowList()
} Else If (Bar_command_#1 = "Reload") } Else If (Bar_command_#1 = "Reload")
Main_reload() Main_reload()
Else If (Bar_command_#1 = "Quit") Else If (Bar_command_#1 = "Quit")