2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 23:15:59 +00:00

Some icons moved from sprite to separate files.

This commit is contained in:
John Preston
2016-10-22 21:58:25 +03:00
parent e1478359e6
commit c1d862d8de
47 changed files with 123 additions and 120 deletions

View File

@@ -230,11 +230,6 @@ style::color documentSelectedColor(int32 colorIndex) {
return colors[colorIndex & 3];
}
style::sprite documentCorner(int32 colorIndex) {
static style::sprite corners[] = { st::msgFileBlue, st::msgFileGreen, st::msgFileRed, st::msgFileYellow };
return corners[colorIndex & 3];
}
RoundCorners documentCorners(int32 colorIndex) {
return RoundCorners(DocBlueCorners + (colorIndex & 3));
}