Created showNotesAction and ShowPunchcardAction

This commit is contained in:
Jonathan Bernard 2009-12-20 20:03:49 -06:00
parent f1ab340b11
commit 5000d266fe
2 changed files with 14 additions and 3 deletions

View File

@ -9,3 +9,13 @@ toolsMenuAction = action (
name: 'Show Tools Menu',
closure: controller.&showToolsMenu
)
showNotesAction = action (
name: 'Show Notes',
closure: controller.&showNotes
)
showPunchcardAction = action (
name: 'Show Punchcard',
closure: controller.&showPunchcard
)

View File

@ -45,9 +45,10 @@ application(title:'TimeStamper',
panel(constraints: 'alignx leading, aligny top, gapright 5px, wrap') {
boxLayout(axis: BoxLayout.X_AXIS)
toggleButton(icon: imageIcon('/16-em-pencil.png'),
toggleButton(showNotesAction, icon: imageIcon('/16-em-pencil.png'),
border: emptyBorder(4))
toggleButton(icon: imageIcon('/16-file-archive.png'),
toggleButton(showPunchcardAction,
icon: imageIcon('/16-file-archive.png'),
border: emptyBorder(4))
}