resource files

svn path=/trunk/; revision=11231
This commit is contained in:
Martin Fuchs 2004-10-08 19:30:45 +00:00
parent 41c01ba24e
commit d5c0bee9ae
2 changed files with 44 additions and 0 deletions

View file

@ -2834,19 +2834,23 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi
if (visible_cols & COL_INDEX) { if (visible_cols & COL_INDEX) {
_stprintf(buffer, sLongHexFmt, index); _stprintf(buffer, sLongHexFmt, index);
if (calcWidthCol == -1) if (calcWidthCol == -1)
output_text(pane, dis, col, buffer, DT_RIGHT); output_text(pane, dis, col, buffer, DT_RIGHT);
else if (calcWidthCol==col || calcWidthCol==COLUMNS) else if (calcWidthCol==col || calcWidthCol==COLUMNS)
calc_width(pane, dis, col, buffer); calc_width(pane, dis, col, buffer);
col++; col++;
} }
if (visible_cols & COL_LINKS) { if (visible_cols & COL_LINKS) {
wsprintf(buffer, sNumFmt, entry->bhfi.nNumberOfLinks); wsprintf(buffer, sNumFmt, entry->bhfi.nNumberOfLinks);
if (calcWidthCol == -1) if (calcWidthCol == -1)
output_text(pane, dis, col, buffer, DT_CENTER); output_text(pane, dis, col, buffer, DT_CENTER);
else if (calcWidthCol==col || calcWidthCol==COLUMNS) else if (calcWidthCol==col || calcWidthCol==COLUMNS)
calc_width(pane, dis, col, buffer); calc_width(pane, dis, col, buffer);
col++; col++;
} }
} else } else

View file

@ -169,10 +169,35 @@ SOURCE=.\es.rc
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\fr.rc
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=.\hu.rc
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=.\images.bmp SOURCE=.\images.bmp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\it.rc
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=.\nl.rc
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=.\pt.rc
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=.\resource.h SOURCE=.\resource.h
# End Source File # End Source File
# Begin Source File # Begin Source File
@ -182,6 +207,16 @@ SOURCE=.\resource.rc
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\ru.rc
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=.\si.rc
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=.\toolbar.bmp SOURCE=.\toolbar.bmp
# End Source File # End Source File
# Begin Source File # Begin Source File
@ -192,6 +227,11 @@ SOURCE=.\winefile.ico
SOURCE=.\winefile.rc SOURCE=.\winefile.rc
# End Source File # End Source File
# Begin Source File
SOURCE=.\zh.rc
# PROP Exclude_From_Build 1
# End Source File
# End Group # End Group
# Begin Source File # Begin Source File