#ifndef __FREQUENCYDIALOG_H__
#define __FREQUENCYDIALOG_H__

#include <applications/dialog/Dialog.h>

class CFrequencyDialog: public CDialog
{
public:
	CFrequencyDialog(void);

	virtual void OnCreat(void);

	virtual void OnEncoderCW(void);
	virtual void OnEncoderCCW(void);

	virtual void OnButtonDown(void);

private:
	void OnDraw(void);

	int multiple, max_multiple, min_multiple;
	int base, max_base, min_base;

	enum
	{
		freq, save, cancel
	} menu_item;

	bool in_edit;
};

extern CFrequencyDialog FrequencyDialog;

#endif
