mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Moved out Window::SlideAnimation to td_ui.
This commit is contained in:
parent
5e11c43f84
commit
58fcedab64
3 changed files with 7 additions and 5 deletions
|
@ -1495,8 +1495,6 @@ PRIVATE
|
|||
window/window_session_controller.cpp
|
||||
window/window_session_controller.h
|
||||
window/window_session_controller_link_info.h
|
||||
window/window_slide_animation.cpp
|
||||
window/window_slide_animation.h
|
||||
window/window_top_bar_wrap.h
|
||||
window/themes/window_theme.cpp
|
||||
window/themes/window_theme.h
|
||||
|
|
|
@ -53,9 +53,10 @@ void SlideAnimation::paintContents(QPainter &p) const {
|
|||
0,
|
||||
0,
|
||||
_cacheUnder,
|
||||
(_cacheUnder.width() - leftWidth * cIntRetinaFactor()),
|
||||
_cacheUnder.width()
|
||||
- leftWidth * style::DevicePixelRatio(),
|
||||
0,
|
||||
leftWidth * cIntRetinaFactor(),
|
||||
leftWidth * style::DevicePixelRatio(),
|
||||
_topSkip * retina);
|
||||
}
|
||||
|
||||
|
@ -67,7 +68,7 @@ void SlideAnimation::paintContents(QPainter &p) const {
|
|||
_cacheOver,
|
||||
0,
|
||||
0,
|
||||
rightWidth * cIntRetinaFactor(),
|
||||
rightWidth * style::DevicePixelRatio(),
|
||||
_topSkip * retina);
|
||||
}
|
||||
|
||||
|
|
|
@ -402,6 +402,9 @@ PRIVATE
|
|||
ui/widgets/fields/time_part_input_with_placeholder.cpp
|
||||
ui/widgets/fields/time_part_input_with_placeholder.h
|
||||
|
||||
window/window_slide_animation.cpp
|
||||
window/window_slide_animation.h
|
||||
|
||||
ui/ui_pch.h
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue