Main Page   Class Hierarchy   Data Structures   File List   Data Fields  

chartdrawing.h

00001 /***************************************************************************
00002                           chartdrawing.h  -  description
00003                              -------------------
00004     begin                : 
00005     copyright            : (C) 2002 by Michael Otto
00006     email                : Michael.Otto@saskathex.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 
00019 #ifndef CHARTDRAWING_H
00020 #define CHARTDRAWING_H
00021 
00022 #include <stdio.h>
00023 
00024 #include <gtkmm.h>
00025 #include <gdkmm/colormap.h>
00026 #include <gdkmm/color.h>
00027 #include <gdkmm/gc.h>
00028 #include <gdkmm/types.h>
00029 #include <pangomm/layout.h>
00030 
00031 #include <vector>
00032 #include <iostream>
00033 
00034 using namespace std;
00035 
00036 class Stock;
00037 
00043 class ChartDrawing : public Gtk::DrawingArea {
00044   private:
00045     vector <float> values;
00046     const Stock *stock;
00047     int stepX, stepY;
00048     virtual bool on_expose_event(GdkEventExpose *event);
00049                 
00050   public:
00051     ChartDrawing(const Stock * const stock);
00052     ~ChartDrawing();
00053 
00054 };
00055 
00056 #endif

Generated on Tue May 27 21:24:01 2003 for gstockcalc by doxygen1.3-rc3