2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Move image-related modules to ui/image/.

This commit is contained in:
John Preston
2018-10-23 13:44:42 +04:00
parent 8b76428c7e
commit 595134cab5
62 changed files with 1274 additions and 1222 deletions

View File

@@ -8,8 +8,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "boxes/edit_caption_box.h"
#include "ui/widgets/input_fields.h"
#include "ui/image/image.h"
#include "ui/text_options.h"
#include "ui/image.h"
#include "media/media_clip_reader.h"
#include "history/history.h"
#include "history/history_item.h"
@@ -79,13 +79,13 @@ EditCaptionBox::EditCaptionBox(
| Images::Option::RoundedTopRight
| Images::Option::RoundedBottomLeft
| Images::Option::RoundedBottomRight;
_thumb = Images::pixmap(
_thumb = App::pixmapFromImageInPlace(Images::prepare(
image->pix(_msgId).toImage(),
_thumbw * cIntRetinaFactor(),
0,
options,
st::msgFileThumbSize,
st::msgFileThumbSize);
st::msgFileThumbSize));
};
}