diff include/auth.h @ 0:d3b8cd5aeb70

make repo.
author pyon@macmini
date Sun, 30 Sep 2018 17:27:04 +0900
parents
children eaa27e4ed5be
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/auth.h	Sun Sep 30 17:27:04 2018 +0900
@@ -0,0 +1,50 @@
+// Filename   : auth.h
+// Last Change: 2018-09-29 Sat 06:18:10.
+//
+
+#ifndef __AUTH_H__
+#define __AUTH_H__
+
+#include <wx/gdicmn.h>
+#include <wx/font.h>
+#include <wx/colour.h>
+#include <wx/settings.h>
+#include <wx/textctrl.h>
+#include <wx/sizer.h>
+#include <wx/stattext.h>
+#include <wx/dialog.h>
+#include <wx/msgdlg.h> 
+
+class AuthDialog : public wxDialog 
+{
+    DECLARE_EVENT_TABLE()
+	private:
+        wxArrayString users;
+	
+	protected:
+		enum {
+			ID_UID = wxID_HIGHEST + 200,
+			ID_PW,
+		};
+
+		wxStaticText* m_staticTextId;
+		wxTextCtrl*   m_textCtrlId;
+		wxStaticText* m_staticTextIdmsg;
+		wxStaticText* m_staticTextPw;
+		wxTextCtrl*   m_textCtrlPw;
+		wxStaticText* m_staticTextPwmsg;
+	
+	public:
+		AuthDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); 
+		~AuthDialog();
+        void OnKey( wxKeyEvent& event );
+        void OnCheckUserID( wxCommandEvent& event );
+        void OnCheckPassword( wxCommandEvent& event );
+        void OnEnter( wxCommandEvent& event );
+        void CreateControls( void );
+        void LoadUserID( void );
+        void InDevelop( void ); 
+};
+
+#endif //__AUTH_H__
+