.developing rainbow

git-svn-id: svn://ultimatepp.org/upp/trunk@3669 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-07-18 06:51:16 +00:00
parent 587361493f
commit c2677c8b23

View file

@ -240,12 +240,12 @@ Image PosixGetDriveImage(String dir, bool)
#ifdef PLATFORM_WIN32
Image GetFileIcon(const String& folder, bool, bool, bool, bool = false)
{
return Null;
return CtrlImg::File();
}
#else
Image GetFileIcon(const String& folder, const String& filename, bool isdir, bool isexe, bool = false)
{
return Null;
return isdir ? CtrlImg::Dir() : CtrlImg::File();
}
#endif
@ -311,7 +311,7 @@ bool Load(FileList& list, const String& dir, const char *patterns, bool dirs,
#endif
StdFont().Bold(), SColorText, true, -1, Null, SColorDisabled,
root[i].root_desc, StdFont()
);
);
#ifdef PLATFORM_WIN32
list.Add(t_("Network"), CtrlImg::Network(), StdFont().Bold(), SColorText,
true, -1, Null, SColorDisabled, Null, StdFont());