#ifndef __CONTRASTDIALOG_H__
#define __CONTRASTDIALOG_H__

#include <applications/dialog/Dialog.h>
#include <hal/drivers/flash.h>

class CContrastDialog: public CDialog
{
public:
	virtual void OnCreat(void);

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

	virtual void OnButtonDown(void);

private:
	void OnDraw(void);

	decltype(flash_file::lcd_uc1601s_pm) lcd_uc1601s_pm;
};

extern CContrastDialog ContrastDialog;

#endif
