Merge continued

git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-10-04 08:34:39 +00:00
parent adf46bd64e
commit 2e4b276e07
3860 changed files with 1161787 additions and 438 deletions

View file

@ -0,0 +1,26 @@
#include "CtrlLib/CtrlLib.h"
void DrawFileName(Draw& w, int x, int y, int wcx, int cy, const WString& mname, bool isdir, Font font,
Color ink, Color extink, const WString& desc, Font descfont, bool justname);
struct Test : TopWindow {
void Paint(Draw &w) {
Size sz = GetSize();
w.DrawRect(sz, White);
String x = WString("CENÍK2.DOC").ToString();
DrawFileName(w, 0, 0, 410, 40, WString(x), false,
Arial(17), Black, Black, WString(), Arial(17), false);
}
};
GUI_APP_MAIN
{
SetDefaultCharset(CHARSET_UTF8);
Test tst;
/* FindFile ff("d:/doc/*.*");
while(ff) {
DUMP(ff.GetName());
ff.Next();
}*/
tst.Run();
}