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

superkaramba

  • superkaramba
  • src
graph.h
1/***************************************************************************
2 * Copyright (C) 2003 by Hans Karlsson *
3 * karlsson.h@home.se *
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 GRAPH_H
12#define GRAPH_H
13
14#include "meter.h"
15#include <tqpainter.h>
16#include <tqcolor.h>
17
18class Graph : public Meter
19{
20TQ_OBJECT
21
22
23public:
24 Graph(karamba* k, int ix, int iy, int iw, int ih, int nbrPoints);
25 Graph();
26 ~Graph();
27
28 void setValue( long );
29 long getValue() { return lastValue; };
30 void setValue( TQString );
31 void mUpdate( TQPainter * );
32
33private:
34 int lastValue;
35 int* values;
36 int nbrPoints;
37 int ptPtr; // points to the array position
38};
39
40#endif // GRAPH_H

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.