Version: 0.6.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
ohlcrenderer.h
1
// Name: ohlcrenderer.h
3
// Purpose: OHLC renderers base class declaration.
4
// Author: Moskvichev Andrey V.
5
// Created: 2008/11/07
6
// Copyright: (c) 2008-2010 Moskvichev Andrey V.
7
// Licence: wxWidgets licence
9
10
#ifndef OHLCRENDERER_H_
11
#define OHLCRENDERER_H_
12
13
#include <wx/chartrenderer.h>
14
19
class
WXDLLIMPEXP_FREECHART
OHLCColourer
20
{
21
public
:
22
virtual
wxColor GetColour(
int
step) = 0;
23
};
24
28
class
WXDLLIMPEXP_FREECHART
OHLCRenderer
:
public
Renderer
29
{
30
public
:
31
OHLCRenderer
();
32
virtual
~
OHLCRenderer
();
33
43
virtual
void
DrawItem(wxDC &dc, wxCoord x, wxCoord open, wxCoord high, wxCoord low, wxCoord close) = 0;
44
45
void
SetColourer(
OHLCColourer
*colourer);
46
OHLCColourer
*GetColourer();
47
48
protected
:
49
OHLCColourer
*m_colourer;
50
};
51
52
#endif
/*OHLCRENDERER_H_*/
Renderer
Definition:
chartrenderer.h:21
OHLCRenderer
Definition:
ohlcrenderer.h:28
OHLCColourer
Definition:
ohlcrenderer.h:19
include
freechart
wx
ohlc
ohlcrenderer.h
Generated on Fri Sep 26 2014 01:10:55 for ngm by
1.8.6