2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

media overview almost done

This commit is contained in:
John Preston
2014-08-15 15:19:32 +04:00
parent 7f976fa251
commit a2179c77ba
28 changed files with 1990 additions and 468 deletions

View File

@@ -578,16 +578,6 @@ void SettingsInner::updateSize(int32 newWidth) {
}
}
bool SettingsInner::getPhotoCoords(PhotoData *photo, int32 &x, int32 &y, int32 &w) const {
if (photo->id == _self->photoId) {
x = _left;
y = st::setTop;
w = st::setPhotoSize;
return true;
}
return false;
}
void SettingsInner::updateOnlineDisplay() {
}
@@ -1227,15 +1217,6 @@ void SettingsWidget::dragEnterEvent(QDragEnterEvent *e) {
void SettingsWidget::dropEvent(QDropEvent *e) {
}
bool SettingsWidget::getPhotoCoords(PhotoData *photo, int32 &x, int32 &y, int32 &w) const {
if (_inner.getPhotoCoords(photo, x, y, w)) {
x += _inner.x();
y += _inner.y();
return true;
}
return false;
}
void SettingsWidget::updateOnlineDisplay() {
_inner.updateOnlineDisplay();
}