Mercurial > hg > svgui
diff view/View.h @ 1605:ae2d5f8ff005
When asked to render the whole view width, we need to wait for the layers to be ready before we can determine what the width is
author | Chris Cannam |
---|---|
date | Thu, 30 Apr 2020 14:47:13 +0100 (2020-04-30) |
parents | bfacecf7ea7e |
children |
line wrap: on
line diff
--- a/view/View.h Wed Apr 29 17:47:55 2020 +0100 +++ b/view/View.h Thu Apr 30 14:47:13 2020 +0100 @@ -530,6 +530,8 @@ void checkProgress(ModelId); void checkAlignmentProgress(ModelId); + + bool waitForLayersToBeReady(); // returns false if user cancelled waiting int getProgressBarWidth() const; // if visible