diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-21 22:39:57 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-21 22:39:57 +0100 |
| commit | 80b76666074aa94f165e3db7b3dda2145ca6efc0 (patch) | |
| tree | ba8a189df55f3dab4d3623eb4617c7b5d33c7f07 /Public/Kits/System.Graphics/Stylesheet.hxx | |
| parent | dafcc53840c41dab7a1897868d020a5b196d5b2d (diff) | |
unstable, kernel+api: important breaking changes.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Graphics/Stylesheet.hxx')
| -rw-r--r-- | Public/Kits/System.Graphics/Stylesheet.hxx | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/Public/Kits/System.Graphics/Stylesheet.hxx b/Public/Kits/System.Graphics/Stylesheet.hxx deleted file mode 100644 index f4106a7b..00000000 --- a/Public/Kits/System.Graphics/Stylesheet.hxx +++ /dev/null @@ -1,50 +0,0 @@ -/* ------------------------------------------- - - Copyright Mahrouss Logic - - File: Stylesheet.hxx - Purpose: - - Revision History: - - 08/02/24: Added file (amlel) - -------------------------------------------- */ - -#pragma once - -/// TODO: Stylesheets for GUI. - -#include <System.Graphics/Core.hxx> -#include <System.Graphics/Dim2d.hxx> -#include <NewKit/MutableArray.hpp> - -namespace HCore { -class G_API GStylesheet final { - public: - explicit GStylesheet() = default; - ~GStylesheet() = default; - - HCORE_COPY_DEFAULT(GStylesheet); - - MutableArray<StringView>& Props() { return mProps; } - - private: - MutableArray<StringView> mProps; -}; - -class StylesheetParser final { - public: - static MutableArray<GStylesheet> FromBlob(Char* Blob, SizeT BlobSz) { - MutableArray<GStylesheet> stylesheet; - - if (!Blob || BlobSz < 1) return stylesheet; - - for (auto BlobIndex = 0UL; BlobIndex < BlobSz; ++BlobIndex) { - - } - - return stylesheet; - } -}; -} // namespace HCore |
