"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/GUI/PageInput.cpp" between
ssr-0.3.10.tar.gz and ssr-0.3.11.tar.gz

About: SimpleScreenRecorder is a screen (video-audio) recorder for Linux.

PageInput.cpp  (ssr-0.3.10):PageInput.cpp  (ssr-0.3.11)
skipping to change at line 141 skipping to change at line 141
painter.setBrush(QColor(255, 192, 128)); painter.setBrush(QColor(255, 192, 128));
painter.drawRect(0, 0, width() - 1, height() - 1); painter.drawRect(0, 0, width() - 1, height() - 1);
painter.setFont(m_font); painter.setFont(m_font);
painter.drawText(0, 0, width(), height(), Qt::AlignHCenter | Qt::AlignVCe nter | Qt::TextSingleLine, m_text); painter.drawText(0, 0, width(), height(), Qt::AlignHCenter | Qt::AlignVCe nter | Qt::TextSingleLine, m_text);
} }
RecordingFrameWindow::RecordingFrameWindow(QWidget* parent) RecordingFrameWindow::RecordingFrameWindow(QWidget* parent)
: QWidget(parent, TRANSPARENT_WINDOW_FLAGS) { : QWidget(parent, TRANSPARENT_WINDOW_FLAGS) {
TRANSPARENT_WINDOW_ATTRIBUTES(); TRANSPARENT_WINDOW_ATTRIBUTES();
QImage image(16, 16, QImage::Format_RGB32); QImage image(16, 16, QImage::Format_RGB32);
for(size_t j = 0; j < image.height(); ++j) { for(size_t j = 0; j < (size_t) image.height(); ++j) {
uint32_t *row = (uint32_t*) image.scanLine(j); uint32_t *row = (uint32_t*) image.scanLine(j);
for(size_t i = 0; i < image.width(); ++i) { for(size_t i = 0; i < (size_t) image.width(); ++i) {
//row[i] = ((i + j) % 16 < 8)? 0xffbfbfff : 0xff9f9fdf; //row[i] = ((i + j) % 16 < 8)? 0xffbfbfff : 0xff9f9fdf;
row[i] = ((i + j) % 16 < 8)? 0xffff8080 : 0xff8080ff; row[i] = ((i + j) % 16 < 8)? 0xffff8080 : 0xff8080ff;
} }
} }
m_texture = QPixmap::fromImage(image); m_texture = QPixmap::fromImage(image);
UpdateMask(); UpdateMask();
} }
void RecordingFrameWindow::UpdateMask() { void RecordingFrameWindow::UpdateMask() {
if(QX11Info::isCompositingManagerRunning()) { if(QX11Info::isCompositingManagerRunning()) {
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)