Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
49 lines (41 sloc)
1.1 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __REMOTEFILECONFIGITEMGUI | |
#define __REMOTEFILECONFIGITEMGUI | |
#include <wx/wx.h> | |
#include <wx/panel.h> | |
#include <wx/stattext.h> | |
// Statsgen Includes | |
#include "WindowIDs.h" | |
#include "BaseConfigItemGUI.h" | |
#include "RemoteDirectoryConfigItemGUI.h" | |
class RemoteFileConfigItemGUI : public BaseConfigItemGUI | |
{ | |
public: | |
RemoteFileConfigItemGUI(); | |
virtual ~RemoteFileConfigItemGUI(); | |
void OnTextChange(wxCommandEvent& event); | |
void OnButtonPressed(wxCommandEvent& event); | |
void SetConfigKey(wxString &configKeyIn); | |
void SetLabelWidth(int width); | |
int GetLabelWidth(); | |
void Set(wxString &configKeyIn, | |
wxString &labelText, | |
wxString &defaultValueIn, | |
int maxCharactersIn, | |
wxString &FTPIDIn, | |
RemoteDirectoryConfigItemGUI *directoryGUIIn=NULL); | |
void OnResize(wxSizeEvent &event); | |
wxString GetValue(); | |
protected: | |
private: | |
wxTextCtrl textEdit; | |
wxBitmapButton button; | |
wxStaticText label; | |
bool maxCharactersSet; | |
int maxCharacters; | |
wxString labelText; | |
wxString defaultValue; | |
RemoteDirectoryConfigItemGUI *directoryConfig; | |
wxString FTPID; | |
DECLARE_EVENT_TABLE() | |
}; | |
#endif |