From b608517c047f7e4f7d7d70af7db76b0e9b0873b0 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 28 Apr 2024 09:08:00 +0200 Subject: MHR-18: Big set of patches regarding the New Filesystem. Signed-off-by: Amlal El Mahrouss --- Public/Developer/SystemLib/Sources/Wm.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'Public/Developer/SystemLib/Sources') diff --git a/Public/Developer/SystemLib/Sources/Wm.c b/Public/Developer/SystemLib/Sources/Wm.c index 72ae5919..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; - - FloatType 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. -- cgit v1.2.3