Mercurial > mercurial > hgweb_rsearcher.cgi
comparison include/auth.h @ 0:d3b8cd5aeb70
make repo.
author | pyon@macmini |
---|---|
date | Sun, 30 Sep 2018 17:27:04 +0900 |
parents | |
children | eaa27e4ed5be |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d3b8cd5aeb70 |
---|---|
1 // Filename : auth.h | |
2 // Last Change: 2018-09-29 Sat 06:18:10. | |
3 // | |
4 | |
5 #ifndef __AUTH_H__ | |
6 #define __AUTH_H__ | |
7 | |
8 #include <wx/gdicmn.h> | |
9 #include <wx/font.h> | |
10 #include <wx/colour.h> | |
11 #include <wx/settings.h> | |
12 #include <wx/textctrl.h> | |
13 #include <wx/sizer.h> | |
14 #include <wx/stattext.h> | |
15 #include <wx/dialog.h> | |
16 #include <wx/msgdlg.h> | |
17 | |
18 class AuthDialog : public wxDialog | |
19 { | |
20 DECLARE_EVENT_TABLE() | |
21 private: | |
22 wxArrayString users; | |
23 | |
24 protected: | |
25 enum { | |
26 ID_UID = wxID_HIGHEST + 200, | |
27 ID_PW, | |
28 }; | |
29 | |
30 wxStaticText* m_staticTextId; | |
31 wxTextCtrl* m_textCtrlId; | |
32 wxStaticText* m_staticTextIdmsg; | |
33 wxStaticText* m_staticTextPw; | |
34 wxTextCtrl* m_textCtrlPw; | |
35 wxStaticText* m_staticTextPwmsg; | |
36 | |
37 public: | |
38 AuthDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); | |
39 ~AuthDialog(); | |
40 void OnKey( wxKeyEvent& event ); | |
41 void OnCheckUserID( wxCommandEvent& event ); | |
42 void OnCheckPassword( wxCommandEvent& event ); | |
43 void OnEnter( wxCommandEvent& event ); | |
44 void CreateControls( void ); | |
45 void LoadUserID( void ); | |
46 void InDevelop( void ); | |
47 }; | |
48 | |
49 #endif //__AUTH_H__ | |
50 |