diff options
Diffstat (limited to 'src/isbutton.h')
-rw-r--r-- | src/isbutton.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/isbutton.h b/src/isbutton.h new file mode 100644 index 0000000..3e0996a --- /dev/null +++ b/src/isbutton.h @@ -0,0 +1,41 @@ +/**************************************************************************\ + ibtk (Insomnia's Basic ToolKit) + + By Insomnia (Steaphan Greene) + (insomnia@core.binghamton.edu) + + Copyright (C) 1999 Steaphan Greene + + 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., 59 Temple Place, Suite 330, Boston, MA 02111, USA. + +\**************************************************************************/ + +#ifndef ISBUTTON_H +#define ISBUTTON_H + +#include <X11/X.h> +#include <X11/Xlib.h> +#include "idodad.h" +#include "ibutton.h" +#include "ibutton.h" +#include "iwindow.h" + +class ISButton : public IButton { +public: + ISButton(char *txt, IWindow *w, int xp, int yp, int xs, int ys); + virtual ~ISButton(); + virtual int Type() { return DODAD_SBUTTON; }; + virtual int Press(int b, int x, int y); + virtual int Release(int b, int x, int y); + virtual void Redraw(); + virtual void Rebuild(); + }; + +#endif |