Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WidgetViewport.cpp @ 561:1201b12eb9f8 dev
merge default -> dev
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 18 Apr 2019 09:30:00 +0200 |
parents | 3b4df9925db6 aaeec7be8fb7 |
children | 4f2416d519b4 |
comparison
equal
deleted
inserted
replaced
558:d5579bdc59b5 | 561:1201b12eb9f8 |
---|---|
88 | 88 |
89 | 89 |
90 void WidgetViewport::SetSize(unsigned int width, | 90 void WidgetViewport::SetSize(unsigned int width, |
91 unsigned int height) | 91 unsigned int height) |
92 { | 92 { |
93 background_.SetSize(width, height); | 93 background_.SetSize(width, height, false /* no alpha */); |
94 | 94 |
95 if (centralWidget_.get() != NULL) | 95 if (centralWidget_.get() != NULL) |
96 { | 96 { |
97 centralWidget_->SetSize(width, height); | 97 centralWidget_->SetSize(width, height); |
98 } | 98 } |