
/*
**  jazz - a midi sequencer for Linux
**
**  Copyright (C) 1994-1996 Andreas Voss (andreas@avix.rhein-neckar.de)
**
**  Copyright (C) 1995-1996 Per Sigmond (Per.Sigmond@hia.no)
**
**  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.
*/


#ifndef toolbar_h
#define toolbar_h


#ifndef wx_wxh
#include "wx.h"
#endif

#ifndef wx_bbarh
#include "wx_bbar.h"
#endif

#ifdef VMS
#include "wx_tbar.h"
#endif

struct tToolDef
{
  int  id;
  Bool sticky;
  int  sep;
  const void *resid;
};

#ifdef wx_msw
class tToolBar : public wxButtonBar
#else
class tToolBar : public wxToolBar
#endif
{
  public:
    tToolBar(wxFrame *frame, tToolDef *tdef, int ndefs);
    Bool OnLeftClick(int toolIndex, Bool toggled);
    void OnMouseEnter(int toolIndex);
  private:
    wxFrame *win;
};

#endif

