[DEV] correction of the home folder of the Meta widget open
This commit is contained in:
parent
d5f406db8f
commit
f892d5981e
@ -82,14 +82,12 @@ widget::FileChooser::FileChooser(void)
|
||||
widget::Spacer * mySpacer = NULL;
|
||||
//widget::Label * myLabel = NULL;
|
||||
widget::Image * myImage = NULL;
|
||||
m_folder = etk::GetUserHomeFolder();
|
||||
#if defined(__TARGET_OS__Android)
|
||||
m_folder = "/mnt/sdcard/";
|
||||
SetDisplayRatio(0.90);
|
||||
#elif defined(__TARGET_OS__Windows)
|
||||
m_folder = "c:/";
|
||||
SetDisplayRatio(0.80);
|
||||
#else
|
||||
m_folder = "/home/";
|
||||
SetDisplayRatio(0.80);
|
||||
#endif
|
||||
m_file = "";
|
||||
|
@ -41,16 +41,16 @@ namespace widget {
|
||||
etk::UString GetCompleateFileName(void);
|
||||
void UpdateCurrentFolder(void);
|
||||
private:
|
||||
widget::Label* m_widgetTitle;
|
||||
widget::Button* m_widgetValidate;
|
||||
widget::Button* m_widgetCancel;
|
||||
widget::Entry* m_widgetCurrentFolder;
|
||||
widget::Entry* m_widgetCurrentFileName;
|
||||
widget::Label* m_widgetTitle;
|
||||
widget::Button* m_widgetValidate;
|
||||
widget::Button* m_widgetCancel;
|
||||
widget::Entry* m_widgetCurrentFolder;
|
||||
widget::Entry* m_widgetCurrentFileName;
|
||||
widget::ListFileSystem* m_widgetListFolder;
|
||||
widget::ListFileSystem* m_widgetListFile;
|
||||
widget::CheckBox* m_widgetCheckBox;
|
||||
etk::UString m_folder;
|
||||
etk::UString m_file;
|
||||
widget::CheckBox* m_widgetCheckBox;
|
||||
etk::UString m_folder;
|
||||
etk::UString m_file;
|
||||
};
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user