summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-11-17 06:33:38 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-12-18 16:33:28 +0100
commit51a7681957131e0018af5122b214994dd51f93e3 (patch)
treeb03c94b9af010a0d1331cd2b3b07120b1902a360 /src
parentapplets/web: Implement the default web browser applet frontend (diff)
downloadyuzu-51a7681957131e0018af5122b214994dd51f93e3.tar
yuzu-51a7681957131e0018af5122b214994dd51f93e3.tar.gz
yuzu-51a7681957131e0018af5122b214994dd51f93e3.tar.bz2
yuzu-51a7681957131e0018af5122b214994dd51f93e3.tar.lz
yuzu-51a7681957131e0018af5122b214994dd51f93e3.tar.xz
yuzu-51a7681957131e0018af5122b214994dd51f93e3.tar.zst
yuzu-51a7681957131e0018af5122b214994dd51f93e3.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp4
-rw-r--r--src/yuzu/bootmanager.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 489104d5f..55c60935e 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -569,6 +569,10 @@ void GRenderWindow::CaptureScreenshot(u32 res_scale, const QString& screenshot_p
layout);
}
+bool GRenderWindow::IsLoadingComplete() const {
+ return first_frame;
+}
+
void GRenderWindow::OnMinimalClientAreaChangeRequest(std::pair<u32, u32> minimal_size) {
setMinimumSize(minimal_size.first, minimal_size.second);
}
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h
index a6d788d40..ebe5cb965 100644
--- a/src/yuzu/bootmanager.h
+++ b/src/yuzu/bootmanager.h
@@ -162,6 +162,8 @@ public:
/// Destroy the previous run's child_widget which should also destroy the child_window
void ReleaseRenderTarget();
+ bool IsLoadingComplete() const;
+
void CaptureScreenshot(u32 res_scale, const QString& screenshot_path);
std::pair<u32, u32> ScaleTouch(const QPointF& pos) const;