diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-20 03:53:47 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-20 03:53:47 +0100 |
| commit | 834ba2852f69e4dceec1a0a63400fe5171a97c48 (patch) | |
| tree | a35794c9892e4f44285f6d29950b4a97e4a3965c /Public/Kits/System.Graphics | |
| parent | 0fb009de376a89aab2a7c0839d1c17442d9257e2 (diff) | |
unstable: Add ODF header, still in WiP, althougth priority is on the
AHCI driver and HCFS/NewFS support.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Graphics')
| -rw-r--r-- | Public/Kits/System.Graphics/Frame.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Public/Kits/System.Graphics/Frame.hxx b/Public/Kits/System.Graphics/Frame.hxx index 6c305cd3..318f01cd 100644 --- a/Public/Kits/System.Graphics/Frame.hxx +++ b/Public/Kits/System.Graphics/Frame.hxx @@ -15,6 +15,7 @@ #include <System.Graphics/Core.hxx> #include <System.Graphics/Dim2d.hxx> +#include <System.Core/Defs.hxx> #include <NewKit/MutableArray.hpp> namespace System::Graphics { @@ -29,7 +30,7 @@ class G_API GFrame { virtual void Update() { if (m_Frames.Count() == 0) return; - for (int x = 0; x < m_Frames.Count(); ++x) { + for (DWORD x = 0; x < m_Frames.Count(); ++x) { if (!m_Frames[x]->ShouldBeUpdated()) continue; m_Frames[x]->Update(); @@ -41,7 +42,7 @@ class G_API GFrame { virtual void UpdateInput() { if (m_Frames.Count() == 0) return; - for (int x = 0; x < m_Frames.Count(); ++x) { + for (DWORD x = 0; x < m_Frames.Count(); ++x) { if (!m_Frames[x]->ShouldBeUpdated()) continue; m_Frames[x]->UpdateInput(); @@ -50,7 +51,7 @@ class G_API GFrame { virtual bool ShouldBeUpdated() { return false; } - virtual void Paint() = 0; + virtual void Paint() {} private: HCore::MutableArray<GFrame*> m_Frames; |
