# tkxpilots Version 2.0pl0 - funky interface to xpilots
# Copyright (C) 1993-1994 Richard Oak.
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

proc homeboy_info {{w .homeboy_popup}} {
        catch {destroy $w}
        toplevel $w
        wm title $w "More Info on HomeBoy!"
        wm iconname $w "HomeBoy!"
        label $w.label -text "HomeBoy!" -font -*-times-medium-*-*-*-*-180-*-*-*-*-*-*
        message $w.msg -text "The author of this package" -justify center
        label $w.label2 -text "richardo@cogs.susx.ac.uk"
        frame $w.ok -relief sunken -border 1
        pack $w.ok -expand yes -padx 10 -pady 10
        button $w.ok.button -text OK -command "destroy $w"
        button $w.ok.greetings -text "Greetings" -command "homeboy_hello"
        pack $w.ok.button $w.ok.greetings -expand yes -padx 6 -pady 6 -side left

pack $w.label -side top -anchor center
pack $w.msg -side top -anchor center
pack $w.label2 -side top -anchor center
pack $w.ok -side bottom -fill both
}

proc homeboy_hello {{w .homeboy_popup2}} {
        catch {destroy $w}
        toplevel $w
        wm title $w "HomeBoy! says Hi!"
        wm iconname $w "HB! Hi!"
        label $w.thanks -text "I would like to say HI! to the following people"
        message $w.msg -text "Jenni
The Alarm
The Night Bin
New Model Army
The Levellers
J.R.R. Tolkien" -justify center -width 350

        button $w.ok -text OK -command "destroy $w"

pack $w.thanks -side top -anchor center
pack $w.msg -side top -anchor center
pack $w.ok -side bottom -fill both
}
