diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-27 17:38:23 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-27 17:38:23 +0100 |
| commit | 1ce16b83dba0326b13dfa3399c1497ac6b1af14d (patch) | |
| tree | 8a5e4063b5d4cf6ce4f42dd500073994e9ef8954 /Private/Builtins | |
| parent | 6a18e607ffc4e83f2bd953c9de5c14f18e077df8 (diff) | |
Kernel && Developer:
Developer:
- Rework System API to use C instead of C++
- Add new calls in Thread.h
- Documented code.
Kernel:
- Rework handover stage, separated the Processor specific code from
the cross platform code.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/Builtins')
| -rw-r--r-- | Private/Builtins/Toolbox/Toolbox.hxx | 2 | ||||
| -rw-r--r-- | Private/Builtins/Toolbox/Utils.hxx (renamed from Private/Builtins/Toolbox/Util.hxx) | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Private/Builtins/Toolbox/Toolbox.hxx b/Private/Builtins/Toolbox/Toolbox.hxx index 82d0f953..ebd8fc1e 100644 --- a/Private/Builtins/Toolbox/Toolbox.hxx +++ b/Private/Builtins/Toolbox/Toolbox.hxx @@ -15,4 +15,4 @@ EXTERN_C HCore::Boolean _hal_left_button_pressed(); EXTERN_C HCore::Boolean _hal_middle_button_pressed(); EXTERN_C HCore::Boolean _hal_right_button_pressed(); -#include <Builtins/Toolbox/Util.hxx> +#include <Builtins/Toolbox/Utils.hxx> diff --git a/Private/Builtins/Toolbox/Util.hxx b/Private/Builtins/Toolbox/Utils.hxx index 2be185e1..7dec8608 100644 --- a/Private/Builtins/Toolbox/Util.hxx +++ b/Private/Builtins/Toolbox/Utils.hxx @@ -10,7 +10,7 @@ #define ToolboxClearRsrc() uA = 0 -/// @brief draws a resource. +/// @brief Draws a resource. #define ToolboxDrawRsrc(ImgPtr, _Height, _Width, BaseX, BaseY) \ uA = 0; \ \ @@ -37,7 +37,7 @@ } -/// @brief cleans a resource. +/// @brief Cleans a resource. #define ToolboxClearZone(_Height, _Width, BaseX, BaseY) \ \ for (HCore::SizeT i = BaseX; i < _Height + BaseX; ++i) { \ @@ -52,6 +52,7 @@ } +/// @brief Draws inside a zone. #define ToolboxDrawZone(_Clr, _Height, _Width, BaseX, BaseY) \ \ for (HCore::SizeT i = BaseX; i < _Width + BaseX; ++i) { \ |
