1 /*
2  * imagesource_hticks.h - renders a horizontal scale of "tick marks".
3  * Supports Random Access
4  *
5  * Copyright (c) 2008 by Alastair M. Robinson
6  * Distributed under the terms of the GNU General Public License -
7  * see the file named "COPYING" for more details.
8  *
9  */
10 
11 #include "imagesource.h"
12 
13 class ImageSource_HTicks : public ImageSource
14 {
15 	public:
16 	ImageSource_HTicks(int width,int height,IS_TYPE type=IS_TYPE_RGB,int samplesperpixel=3,int majorticks=10,int minorticks=100);
17 	~ImageSource_HTicks();
18 	void SetFG(ISDeviceNValue &col);
19 	void SetBG(ISDeviceNValue &col);
20 	ISDataType *GetRow(int row);
21 	protected:
22 	int majorticks;
23 	int minorticks;
24 	ISDeviceNValue fg;
25 	ISDeviceNValue bg;
26 };
27