[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::Spacer * mySpacer = NULL;
|
||||||
//widget::Label * myLabel = NULL;
|
//widget::Label * myLabel = NULL;
|
||||||
widget::Image * myImage = NULL;
|
widget::Image * myImage = NULL;
|
||||||
|
m_folder = etk::GetUserHomeFolder();
|
||||||
#if defined(__TARGET_OS__Android)
|
#if defined(__TARGET_OS__Android)
|
||||||
m_folder = "/mnt/sdcard/";
|
|
||||||
SetDisplayRatio(0.90);
|
SetDisplayRatio(0.90);
|
||||||
#elif defined(__TARGET_OS__Windows)
|
#elif defined(__TARGET_OS__Windows)
|
||||||
m_folder = "c:/";
|
|
||||||
SetDisplayRatio(0.80);
|
SetDisplayRatio(0.80);
|
||||||
#else
|
#else
|
||||||
m_folder = "/home/";
|
|
||||||
SetDisplayRatio(0.80);
|
SetDisplayRatio(0.80);
|
||||||
#endif
|
#endif
|
||||||
m_file = "";
|
m_file = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user