mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-28 14:17:02 -06:00
Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
adf46bd64e
commit
2e4b276e07
3860 changed files with 1161787 additions and 438 deletions
26
uppdev/DrawFileName/test.cpp
Normal file
26
uppdev/DrawFileName/test.cpp
Normal 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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue