Files
XCEngine/docs/api/XCEditor/Shell/UIEditorMenuBar/UIEditorMenuBar.md

40 lines
1.4 KiB
Markdown
Raw Normal View History

# UIEditorMenuBar
**命名空间**: `XCEngine`
**类型**: `struct`
**头文件**: `XCEditor/Shell/UIEditorMenuBar.h`
**描述**: 定义 `XCEditor/Shell` 子目录中的 `UIEditorMenuBar` public API。
## 概述
`UIEditorMenuBar.h``XCEditor/Shell` 子目录 下的 public header当前页面作为平行目录中的 canonical 总览,用于汇总该头文件暴露的主要声明。
## 声明概览
| 声明 | 类型 | 说明 |
|------|------|------|
| `UIEditorMenuBarItem` | `struct` | 头文件中的公开声明。 |
| `UIEditorMenuBarState` | `struct` | 头文件中的公开声明。 |
| `UIEditorMenuBarMetrics` | `struct` | 头文件中的公开声明。 |
| `UIEditorMenuBarPalette` | `struct` | 头文件中的公开声明。 |
| `UIEditorMenuBarLayout` | `struct` | 头文件中的公开声明。 |
| `UIEditorMenuBarHitTargetKind` | `enum class` | 头文件中的公开声明。 |
| `UIEditorMenuBarHitTarget` | `struct` | 头文件中的公开声明。 |
## 结构体成员
| 成员 | 类型 | 描述 | 默认值 |
|------|------|------|--------|
| `menuId` | `std::string` | 结构体公开字段。 | `{}` |
| `label` | `std::string` | 结构体公开字段。 | `{}` |
| `enabled` | `bool` | 结构体公开字段。 | `true` |
| `desiredLabelWidth` | `float` | 结构体公开字段。 | `0.0f` |
## 相关文档
- [当前目录](../Shell.md) - 返回 `Shell` 平行目录
- [API 总索引](../../../main.md) - 返回顶层索引