Mercurial > mercurial > hgweb_rsearcher.cgi
comparison src/auth.cpp @ 1:eaa27e4ed5be
add client_ui.go
| author | pyon@macmini |
|---|---|
| date | Mon, 01 Oct 2018 23:18:29 +0900 |
| parents | d3b8cd5aeb70 |
| children | db4813125eb8 |
comparison
equal
deleted
inserted
replaced
| 0:d3b8cd5aeb70 | 1:eaa27e4ed5be |
|---|---|
| 1 // Filename : auth.cpp | 1 // Filename : auth.cpp |
| 2 // Last Change: 2018-09-29 Sat 06:18:31. | 2 // Last Change: 2018-10-01 Mon 23:15:27. |
| 3 // | 3 // |
| 4 | 4 |
| 5 #include "auth.h" | 5 #include "auth.h" |
| 6 | 6 |
| 7 AuthDialog::AuthDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) | 7 AuthDialog::AuthDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) |
| 8 : wxDialog( parent, id, title, pos, size, style ) | 8 : wxDialog( parent, id, title, pos, size, style ) |
| 9 { | 9 { |
| 10 CreateControls(); | 10 CreateControls(); |
| 11 LoadUserID(); | 11 LoadUserID(); |
| 12 InDevelop(); | |
| 13 } | 12 } |
| 14 | 13 |
| 15 AuthDialog::~AuthDialog() | 14 AuthDialog::~AuthDialog() |
| 16 { | 15 { |
| 17 } | 16 } |
| 58 void AuthDialog::LoadUserID( void ) | 57 void AuthDialog::LoadUserID( void ) |
| 59 { | 58 { |
| 60 // ファイルから UserID を読み込む | 59 // ファイルから UserID を読み込む |
| 61 } | 60 } |
| 62 | 61 |
| 63 void AuthDialog::InDevelop( void ) | 62 void AuthDialog::InDevelop( bool flag ) |
| 64 { | 63 { |
| 64 if ( !flag ) return; | |
| 65 SetTitle( "now on test" ); | 65 SetTitle( "now on test" ); |
| 66 m_textCtrlId->SetValue( "test" ); | 66 m_textCtrlId->SetValue( "test" ); |
| 67 m_textCtrlPw->SetValue( "test" ); | 67 m_textCtrlPw->SetValue( "test" ); |
| 68 m_textCtrlPw->SetFocus(); | 68 m_textCtrlPw->SetFocus(); |
| 69 } | 69 } |
