diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-28 09:08:00 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-28 09:08:00 +0200 |
| commit | b608517c047f7e4f7d7d70af7db76b0e9b0873b0 (patch) | |
| tree | 2ffd9ee4e202692d873f53f41520cde960b1ddef /Public | |
| parent | dd6568c64e440fe9d8c75539165377ddbbca3e2c (diff) | |
MHR-18: Big set of patches regarding the New Filesystem.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Public')
| -rw-r--r-- | Public/Developer/SystemLib/Headers/Wm.h | 9 | ||||
| -rw-r--r-- | Public/Developer/SystemLib/Sources/Wm.c | 17 |
2 files changed, 0 insertions, 26 deletions
diff --git a/Public/Developer/SystemLib/Headers/Wm.h b/Public/Developer/SystemLib/Headers/Wm.h index c2c9738d..609e89ac 100644 --- a/Public/Developer/SystemLib/Headers/Wm.h +++ b/Public/Developer/SystemLib/Headers/Wm.h @@ -165,12 +165,3 @@ CA_EXTERN_C VoidType WmReleaseMenu(WindowPort* port); /// @param where to move. /// @return error code. CA_EXTERN_C Int32Type WmMoveWindow(WindowPort* wndPort, WmPoint where); - -/// @brief Get the NewOS about window. -/// @return The window port of it. -/// @note The reason that this is not a window is for it to run without blocking the UI. -CA_EXTERN_C WindowPort* WmGetOSDlg(void); - -/// @brief Draws a blur effect on the window. -/// @param wndPort the window port. -CA_EXTERN_C VoidType WmBlur(WindowPort* wndPort); 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. |
