diff options
| author | Amlal <amlalelmahrouss@icloud.com> | 2024-04-28 15:13:03 +0000 |
|---|---|---|
| committer | Amlal <amlalelmahrouss@icloud.com> | 2024-04-28 15:13:03 +0000 |
| commit | 14f10cc0b35155ddb19ec9069ebb884246e61dcf (patch) | |
| tree | a988617d1c511cf04eb2c2392829a37d82a59e2e /Public/Developer/SystemLib/Sources | |
| parent | db0681412191dcceb5aa99cf31fb8339d6bc4adb (diff) | |
| parent | 346558208d39a036effe3a4ec232fa5df5a3c8e7 (diff) | |
Merged in MHR-18 (pull request #8)
MHR-18: A lot of fixes and improvements, mostly related to disk I/O and kernel stability.
Diffstat (limited to 'Public/Developer/SystemLib/Sources')
| -rw-r--r-- | Public/Developer/SystemLib/Sources/Wm.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Public/Developer/SystemLib/Sources/Wm.c b/Public/Developer/SystemLib/Sources/Wm.c index 79eda22a..a1f4d051 100644 --- a/Public/Developer/SystemLib/Sources/Wm.c +++ b/Public/Developer/SystemLib/Sources/Wm.c @@ -76,23 +76,6 @@ CA_EXTERN_C Int32Type WmMoveWindow(WindowPort* wndPort, WmPoint where) { return 0; } -/// @brief Draws a blur effect on the window. -/// @param wndPort the window port. -CA_EXTERN_C VoidType WmBlur(WindowPort* wndPort) { - if (wndPort != NullPtr) { - WmGFXRef refGfx = wndPort->windowGfx; - - UInt32Type lookupTbl[4] = {0.21336, 0.41336, 0.61336, 0.81336}; - - for (SizeType width = 0; width < refGfx->DataFrameWidth; ++width) { - for (SizeType height = 0; height < refGfx->DataFrameHeight; ++height) { - refGfx->DataFrame[width * height] = - refGfx->DataFrame[width * height] * lookupTbl[MathRand() % 4]; - } - } - } -} - /// @brief Causes the window to invalidate and redraw. /// @param wndPort The Window port. /// @return nothing. @@ -100,4 +83,4 @@ CA_EXTERN_C VoidType WmInvalidateGfx(WindowPort* wndPort) { if (wndPort) { wndPort->windowInvalidate = Yes; } -}
\ No newline at end of file +} |
