diff --git a/en/readme/figures/WindowManager.png b/en/readme/figures/WindowManager.png new file mode 100644 index 0000000000000000000000000000000000000000..cd4e1bed0b90c6a834c3ac67d0bac7fd21d85495 Binary files /dev/null and b/en/readme/figures/WindowManager.png differ diff --git a/en/readme/window-manager.md b/en/readme/window-manager.md new file mode 100644 index 0000000000000000000000000000000000000000..e4cb116c6eef9cde5cf9ae1c050eb4a3b1067c64 --- /dev/null +++ b/en/readme/window-manager.md @@ -0,0 +1,56 @@ +# Window Manager + +## Introduction + +The Window Manager subsystem provides basic capabilities of window and display management. It is the basis for UI display. The following figure shows the architecture of the Window Manager subsystem. + +**Figure 1** Architecture of the Window Manager subsystem + +![WindowManager-subsystem-architecture](./figures/WindowManager.png) + +- **Window Manager Client** + + Provides window object abstraction and window management interfaces, and connects to the ability and UI framework. + +- **Display Manager Client** + + Provides display information abstraction and display management interfaces. + +- **Window Manager Server** + + Provides capabilities such as window layout, Z-order control, window tree structure, window dragging, and window snapshot, and offers the window layout and focus window for multimodal input. + +- **Display Manager Server** + + Provides display information, screenshot, screen on/off, and brightness processing control, and processes the mapping between the display and screen. + +## Directory Structure +``` +foundation/windowmanager/ +├── dm # Stores Display Manager Client implementation code +├── dmserver # Stores Display Manager Server implementation code +├── interfaces # Stores external APIs +│ ├── innerkits # Stores native APIs +│ └── kits # Stores JS APIs and native APIs +├── resources # Stores resource files used by the framework +├── sa_profile # Stores system service configuration files +├── snapshot # Stores implementation code of the screenshot command line tool +├── utils # Stores tools +├── wm # Stores Window Manager Client implementation code +├── wmserver # Stores Window Manager Server implementation code +``` + +## Constraints +- Programming language version + - C++ 11 or later + +## Available APIs + +- [Window](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-window.md) +- [Display](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-display.md) + +## Repositories Involved +- graphic_standard +- ace_ace_engine +- aafwk_standard +- multimodalinput_input diff --git "a/zh-cn/readme/\347\252\227\345\217\243\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\347\252\227\345\217\243\345\255\220\347\263\273\347\273\237.md" index 7813ab5c8c166a9fa7523cca05815b2b8bc89d52..d86418ff9e9c03149ebbb0a0bea1f81326a4acd2 100644 --- "a/zh-cn/readme/\347\252\227\345\217\243\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/\347\252\227\345\217\243\345\255\220\347\263\273\347\273\237.md" @@ -1,11 +1,5 @@ # 窗口子系统 -- [简介](#简介) -- [目录](#目录) -- [约束](#约束) -- [接口说明](#接口说明) -- [相关仓](#相关仓) - ## 简介 **窗口子系统** 提供窗口管理和Display管理的基础能力,是系统图形界面显示所需的基础子系统。其主要的结构如图1所示。 @@ -32,8 +26,8 @@ ## 目录 ``` foundation/windowmanager/ -├── dm # Dislplay Manager Client实现代码 -├── dmserver # Dislplay Manager Server实现代码 +├── dm # Display Manager Client实现代码 +├── dmserver # Display Manager Server实现代码 ├── interfaces # 对外接口存放目录 │   ├── innerkits # native接口存放目录 │   └── kits # js/napi接口存放目录