/Donnees/Dev/Haiku/haiku/src/preferences/locale/LanguageListView.h:0: nondigits in number and not hexadecimal --This line,

and those below, will be ignored--
 * Simplify a little the code in the draw method and make the list look prettier (the spacing was weird)
M    locale/LanguageListView.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37727 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-07-24 12:55:53 +00:00
parent 80b909c924
commit 1ec16200dd
+1 -4
View File
@@ -85,9 +85,8 @@ LanguageListItem::DrawItem(BView* owner, BRect frame, bool complete)
} else
owner->SetLowColor(owner->ViewColor());
frame.left += 4;
BRect iconFrame(frame);
iconFrame.Set(iconFrame.left, iconFrame.top + 1, iconFrame.left + 15,
iconFrame.Set(iconFrame.left - 11, iconFrame.top + 1, iconFrame.left + 4,
iconFrame.top + 16);
if (fIcon != NULL && fIcon->IsValid()) {
@@ -96,8 +95,6 @@ LanguageListItem::DrawItem(BView* owner, BRect frame, bool complete)
owner->SetDrawingMode(B_OP_COPY);
}
frame.left += 16 * (OutlineLevel() + 1);
BString text = Text();
if (IsEnabled())
owner->SetHighColor(kBlack);