/* ------------------------------------------- Copyright Mahrouss Logic File: Stylesheet.hxx Purpose: Revision History: 08/02/24: Added file (amlel) ------------------------------------------- */ #pragma once /// TODO: Stylesheets for GUI. #include #include #include namespace HCore { class G_API GStylesheet final { public: explicit GStylesheet() = default; ~GStylesheet() = default; HCORE_COPY_DEFAULT(GStylesheet); MutableArray& Props() { return mProps; } private: MutableArray mProps; }; class StylesheetParser final { public: static MutableArray FromBlob(WideChar* Blob, SizeT BlobSz) { MutableArray stylesheet; if (!Blob || BlobSz < 1) return stylesheet; for (auto BlobIndex = 0UL; BlobIndex < BlobSz; ++BlobIndex) { } return stylesheet; } }; } // namespace HCore