view include/kana.h @ 12:52958cd4a073

Implement Force Mask button in Batch Print Mode.
author pyon@macmini
date Sun, 18 May 2014 19:49:15 +0900
parents c066fde99517
children
line wrap: on
line source

// Filename   : kana.h
// Last Change: 05-Aug-2013.
//
#ifndef __KANA_H__
#define __KANA_H__

#include "common.h"

class KanaDialog : public wxDialog 
{
    DECLARE_EVENT_TABLE()
	private:
        wxString      m_hhsno;
	
	protected:
		
		wxSearchCtrl* m_searchCtrl;
        wxCheckBox*   m_checkBox;
		wxListCtrl*   m_listCtrl;
		wxButton*     m_buttonCancel;
		wxButton*     m_buttonSet;
	
	public:
		
		KanaDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
		~KanaDialog();
	
        void OnSearch( wxCommandEvent& WXUNUSED(event) );
        void OnFuzzyCheck( wxCommandEvent& WXUNUSED(event) );
        void OnSelectItem( wxListEvent& event );
        void OnSet( wxCommandEvent& WXUNUSED(event) );
        void UpdateList( void );

        // Accessor
        wxString GetHhsNo() const { return m_hhsno; }
};

enum
{
    ID_SEARCHKANA = wxID_HIGHEST + 20,
    ID_LISTKANA,
    ID_FUZZY,
    ID_SETKANA,
};

#endif //__KANA_H__