| 234 | } |
| 235 | |
| 236 | void Folder::paintUserpic( |
| 237 | Painter &p, |
| 238 | Ui::PeerUserpicView &view, |
| 239 | const Dialogs::Ui::PaintContext &context) const { |
| 240 | paintUserpic( |
| 241 | p, |
| 242 | context.st->padding.left(), |
| 243 | context.st->padding.top(), |
| 244 | context.st->photoSize); |
| 245 | } |
| 246 | |
| 247 | void Folder::paintUserpic(Painter &p, int x, int y, int size) const { |
| 248 | paintUserpic(p, x, y, size, nullptr, nullptr); |