载入中...
搜索中...
未找到
EditorUiOffscreen.h
浏览该文件的文档.
1#pragma once
2
6
7namespace eve::graphics { class ISolidRectRenderer; }
8
9namespace eve::editor {
10
13public:
17 const IUiSkinAssetResolver* assets = nullptr,
18 IUiSkinPlanRenderer* skins = nullptr)
20 : previews_(previews), rectangles_(rectangles), assets_(assets), skins_(skins) {}
23 int width, int height) const;
24private:
25 GraphicsOffscreenPreviewService* previews_ = nullptr;
26 graphics::ISolidRectRenderer* rectangles_ = nullptr;
27 const IUiSkinAssetResolver* assets_ = nullptr;
28 IUiSkinPlanRenderer* skins_ = nullptr;
29};
30
31} // namespace eve::editor
#define EVENGINE_API_EDITORS
Definition Export.h:112
std::uint32_t height
std::uint32_t width
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Asset metadata boundary used by renderer-neutral UI preview planning.
Narrow presentation boundary consuming a renderer-neutral UI skin plan.
Concrete UI box-model preview renderer using the shared offscreen Canvas.
UiOffscreenPreviewRenderer(GraphicsOffscreenPreviewService *previews, graphics::ISolidRectRenderer *rectangles, const IUiSkinAssetResolver *assets=nullptr, IUiSkinPlanRenderer *skins=nullptr)
Ui offscreen preview renderer.
Narrow solid-rectangle draw boundary for UI/debug tooling.
Concrete Graphics/Canvas preview bridge with revision-safe artifact storage.
Serializable UI authoring document with hierarchy and inspector capabilities.
Definition UiDocument.h:149
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25