From 21d088b2a129a664e73ee86b0d46b5e6d3f0c2ea Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 8 Mar 2010 00:37:22 +0000 Subject: [PATCH] .DLOGs git-svn-id: svn://ultimatepp.org/upp/trunk@2192 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/FileSel.cpp | 8 +------- uppsrc/CtrlLib/Splitter.cpp | 3 --- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/uppsrc/CtrlLib/FileSel.cpp b/uppsrc/CtrlLib/FileSel.cpp index fd3f7db32..7953f771d 100644 --- a/uppsrc/CtrlLib/FileSel.cpp +++ b/uppsrc/CtrlLib/FileSel.cpp @@ -23,14 +23,10 @@ struct FileIconMaker : ImageMaker { #ifdef _DEBUG AvoidPaintingCheck__(); #endif - DDUMP(dir); - DDUMP(file); SHGetFileInfo(ToSystemCharset(file), dir ? FILE_ATTRIBUTE_DIRECTORY : FILE_ATTRIBUTE_NORMAL, &info, sizeof(info), SHGFI_ICON|(large ? SHGFI_LARGEICON : SHGFI_SMALLICON)|(exe ? 0 : SHGFI_USEFILEATTRIBUTES)); HICON icon = info.hIcon; - DDUMP(!!icon); - DLOG("-------------------"); ICONINFO iconinfo; if(!icon || !GetIconInfo(icon, &iconinfo)) return Image(); @@ -53,7 +49,6 @@ struct FileIconMaker : ImageMaker { Image GetFileIcon(const char *path, bool dir, bool force, bool large) { - DDUMP(path); FileIconMaker m; String ext = GetFileExt(path); m.exe = false; @@ -1122,7 +1117,6 @@ struct FolderDisplay : public Display { Image GetDirIcon(const String& s) { - DDUMP(s); #ifdef PLATFORM_X11 Image img = GetFileIcon(GetFileFolder(s), GetFileName(s), true, false, false); #else @@ -1138,7 +1132,7 @@ Image GetDirIcon(const String& s) } void FolderDisplay::Paint(Draw& w, const Rect& r, const Value& q, - Color ink, Color paper, dword style) const + Color ink, Color paper, dword style) const { String s = q; w.DrawRect(r, paper); diff --git a/uppsrc/CtrlLib/Splitter.cpp b/uppsrc/CtrlLib/Splitter.cpp index 949643055..c31e7e8f8 100644 --- a/uppsrc/CtrlLib/Splitter.cpp +++ b/uppsrc/CtrlLib/Splitter.cpp @@ -56,8 +56,6 @@ void Splitter::Layout() { for(Ctrl *q = GetFirstChild(); q; q = q->GetNext()) { int lo = i > 0 ? PosToClient(pos[i - 1]) + wd : 0; int hi = i < count ? PosToClient(pos[i]) - wd : vert ? sz.cy : sz.cx; - DDUMP(lo); - DDUMP(hi); q->Show(); if(vert) q->SetRect(0, lo, sz.cx, hi - lo); @@ -65,7 +63,6 @@ void Splitter::Layout() { q->SetRect(lo, 0, hi - lo, sz.cy); i++; } - DLOG("-----------"); } void Splitter::Paint(Draw& w) {