• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

superkaramba

  • superkaramba
  • src
clickable.h
1/***************************************************************************
2 * Copyright (C) 2003 by Ralph M. Churchill *
3 * mrchucho@yahoo.com *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
10
11#ifndef CLICKABLE_H
12#define CLICKABLE_H
13
14#include <tqstring.h>
15#include <tqrect.h>
16#include <tqevent.h>
17
18
23class Clickable
24{
25public:
26 Clickable(int x, int y, int w, int h );
27
28 virtual ~Clickable();
29
30 virtual void click( TQMouseEvent* ) = 0;
31 /*
32 void setOnClick( TQString );
33 void setOnMiddleClick( TQString );
34 */
35
36 virtual TQRect getBoundingBox();
37
38protected:
39 TQRect boundingBox;
40 /*
41 TQString onClick;
42 TQString onMiddleClick;
43 */
44};
45
46#endif
Clickable
Ralph M.
Definition: clickable.h:24

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.9.4
This website is maintained by Timothy Pearson.