v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
14
source/windowing/StarImageStretchWidget.cpp
Normal file
14
source/windowing/StarImageStretchWidget.cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include "StarImageStretchWidget.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
ImageStretchWidget::ImageStretchWidget(ImageStretchSet const& imageStretchSet, GuiDirection direction)
|
||||
: m_imageStretchSet(imageStretchSet), m_direction(direction) {
|
||||
|
||||
}
|
||||
|
||||
void ImageStretchWidget::renderImpl() {
|
||||
context()->drawImageStretchSet(m_imageStretchSet, RectF(screenBoundRect()), m_direction);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue