增加arkui的RENDME.md文件

This commit is contained in:
JackLee 2026-04-30 19:42:44 +08:00
parent 18d8c027d5
commit 53a1e1f56b
22 changed files with 66 additions and 62 deletions

View File

@ -1,2 +1,4 @@
<img src="http://git.axibug.com/JackLee/ForCAX/raw/branch/master/image/base_app_icon_foreground.png" /></br>
OpenCAX由于商标已经被注册,所以本软件即日起改名ForCAX
OpenCAX由于商标已经被注册,所以本软件即日起改名ForCAX<br>
OpenCAX由JackLee基于OCCT开发

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_EGLCORE_H
#define OPENCAX_EGLCORE_H
#ifndef FORCAX_EGLCORE_H
#define FORCAX_EGLCORE_H
#include "../common.h"
#include <EGL/egl.h>
@ -22,5 +22,5 @@ private:
EGLDisplay eglDisplay;
EGLConfig eglConfig;
};
} // namespace NativeOpenCAX
#endif //OPENCAX_EGLCORE_H
} // namespace FORCAX
#endif //FORCAX_EGLCORE_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_EGLSUBCORE_H
#define OPENCAX_EGLSUBCORE_H
#ifndef FORCAX_EGLSUBCORE_H
#define FORCAX_EGLSUBCORE_H
#include "../common.h"
#include <EGL/egl.h>
@ -30,4 +30,4 @@ public:
}
#endif //OPENCAX_EGLSUBCORE_H
#endif //FORCAX_EGLSUBCORE_H

View File

@ -12,8 +12,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef NATIVE_XCOMPONENT_PLUGIN_MANAGER_H
#define NATIVE_XCOMPONENT_PLUGIN_MANAGER_H
#ifndef XCOMPONENT_PLUGIN_MANAGER_H
#define XCOMPONENT_PLUGIN_MANAGER_H
#include <ace/xcomponent/native_interface_xcomponent.h>
#include <cstdint>
@ -110,4 +110,4 @@ public:
static ArkUI_AccessibilityProvider *provider_;
};
}
#endif // NATIVE_XCOMPONENT_PLUGIN_MANAGER_H
#endif // XCOMPONENT_PLUGIN_MANAGER_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_OCCTMGR_H
#define OPENCAX_OCCTMGR_H
#ifndef FORCAX_OCCTMGR_H
#define FORCAX_OCCTMGR_H
#include <unordered_map>
#include "../common.h"
#include "../EGLMgr/EGLCore.h"
@ -35,4 +35,4 @@ private:
};
}
#endif //OPENCAX_OCCTMGR_H
#endif //FORCAX_OCCTMGR_H

View File

@ -1,5 +1,5 @@
#ifndef NATIVE_RENDER_H
#define NATIVE_RENDER_H
#ifndef FORCAX_RENDER_H
#define FORCAX_RENDER_H
#include <string>
#include <vector>
@ -60,5 +60,5 @@ private:
V3dViewController* v3dViewContr;
std::vector<Handle(AIS_Shape)> shapes_;
};
} // namespace NativeRender
#endif // NATIVE_RENDER_H
} // namespace FORCAXRender
#endif // FORCAX_RENDER_H

View File

@ -1,5 +1,5 @@
#ifndef NATIVE_RENDER_THREAD_H
#define NATIVE_RENDER_THREAD_H
#ifndef FORCAX_RENDER_THREAD_H
#define FORCAX_RENDER_THREAD_H
#include <native_window/external_window.h>
#include <thread>
@ -85,5 +85,5 @@ private:
int rdHeight=0;
};
} // namespace NaitveRenderThread
#endif //NATIVE_RENDER_THREAD_H
} // namespace FORCAX_RenderThread
#endif //FORCAX_RENDER_THREAD_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_V3DVIEWCONTROLLER_H
#define OPENCAX_V3DVIEWCONTROLLER_H
#ifndef FORCAX_V3DVIEWCONTROLLER_H
#define FORCAX_V3DVIEWCONTROLLER_H
#include "AIS_ViewController.hxx"
namespace ForCAX {
class V3dViewController {
@ -17,4 +17,4 @@ private:
};
}
#endif //OPENCAX_V3DVIEWCONTROLLER_H
#endif //FORCAX_V3DVIEWCONTROLLER_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_CAMERA_H
#define OPENCAX_CAMERA_H
#ifndef FORCAX_CAMERA_H
#define FORCAX_CAMERA_H
#include "EGLOCCT/common.h"
#include <V3d_View.hxx>
#include <Graphic3d_Camera.hxx>
@ -25,6 +25,6 @@ public:
Handle(V3d_View) view;
};
} // namespace NativeOpenCAX
} // namespace NativeFORCAX
#endif // OPENCAX_CAMERA_H
#endif // FORCAX_CAMERA_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_CONTEXT_H
#define OPENCAX_CONTEXT_H
#ifndef FORCAX_CONTEXT_H
#define FORCAX_CONTEXT_H
#include "EGLOCCT/common.h"
#include <V3d_Viewer.hxx>
@ -28,4 +28,4 @@ public:
};
}
#endif //OPENCAX_CONTEXT_H
#endif //FORCAX_CONTEXT_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_V3DDRAWER_H
#define OPENCAX_V3DDRAWER_H
#ifndef FORCAX_V3DDRAWER_H
#define FORCAX_V3DDRAWER_H
#include "AIS_InteractiveContext.hxx"
#include "EGLOCCT/common.h"
@ -64,4 +64,4 @@ public:
Handle(Prs3d_DimensionAspect) v3d_DimAspect;
};
}
#endif //OPENCAX_V3DDRAWER_H
#endif //FORCAX_V3DDRAWER_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_OPENGLGRAPHICDRIVER_H
#define OPENCAX_OPENGLGRAPHICDRIVER_H
#ifndef FORCAX_OPENGLGRAPHICDRIVER_H
#define FORCAX_OPENGLGRAPHICDRIVER_H
#include <EGL/egl.h>
#include "EGLOCCT/common.h"

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_V3DTRIEDRON_H
#define OPENCAX_V3DTRIEDRON_H
#ifndef FORCAX_V3DTRIEDRON_H
#define FORCAX_V3DTRIEDRON_H
#include "EGLOCCT/common.h"
#include <AIS_Trihedron.hxx>
#include <AIS_InteractiveContext.hxx>
@ -45,4 +45,4 @@ private:
};
}
#endif //OPENCAX_V3DTRIEDRON_H
#endif //FORCAX_V3DTRIEDRON_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_V3DTRICUBE_H
#define OPENCAX_V3DTRICUBE_H
#ifndef FORCAX_V3DTRICUBE_H
#define FORCAX_V3DTRICUBE_H
#include "EGLOCCT/common.h"
#include <AIS_InteractiveContext.hxx>
@ -34,4 +34,4 @@ private:
};
}
#endif //OPENCAX_V3DTRICUBE_H
#endif //FORCAX_V3DTRICUBE_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_V3DTRIEDRON_H
#define OPENCAX_V3DTRIEDRON_H
#ifndef FORCAX_V3DTRIEDRON_H
#define FORCAX_V3DTRIEDRON_H
#include "EGLOCCT/common.h"
#include <AIS_Trihedron.hxx>
#include <AIS_InteractiveContext.hxx>
@ -19,4 +19,4 @@ public:
bool InitV3dWCSTri(Handle(AIS_InteractiveContext)& ctx);
};
}
#endif //OPENCAX_V3DTRIEDRON_H
#endif //FORCAX_V3DTRIEDRON_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_VIEW_H
#define OPENCAX_VIEW_H
#ifndef FORCAX_VIEW_H
#define FORCAX_VIEW_H
#include "../Context/V3dCtx.h"
#include "EGLOCCT/common.h"
@ -34,4 +34,4 @@ public:
}
#endif //OPENCAX_VIEW_H
#endif //FORCAX_VIEW_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_VIEWER_H
#define OPENCAX_VIEWER_H
#ifndef FORCAX_VIEWER_H
#define FORCAX_VIEWER_H
#include "EGLOCCT/common.h"
#include "PrsMgr_PresentationManager.hxx"
@ -24,4 +24,4 @@ public:
};
}
#endif //OPENCAX_VIEWER_H
#endif //FORCAX_VIEWER_H

View File

@ -4,8 +4,8 @@
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef OPENCAX_WINDOW_H
#define OPENCAX_WINDOW_H
#ifndef FORCAX_WINDOW_H
#define FORCAX_WINDOW_H
#include "EGLOCCT/common.h"
#include <Aspect_NeutralWindow.hxx>
@ -23,4 +23,4 @@ public:
};
}
#endif //OPENCAX_WINDOW_H
#endif //FORCAX_WINDOW_H

View File

@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef NATIVE_XCOMPONENT_COMMON_H
#define NATIVE_XCOMPONENT_COMMON_H
#ifndef XCOMPONENT_COMMON_H
#define XCOMPONENT_COMMON_H
#include <EGL/egl.h>
#include <EGL/eglext.h>
@ -46,4 +46,4 @@ const unsigned int LOG_PRINT_DOMAIN = 0xFF00;
#define HILOG_ERROR(TAG, fmt, ...)
#endif
#endif // NATIVE_XCOMPONENT_COMMON_H
#endif // XCOMPONENT_COMMON_H

View File

@ -1,10 +1,6 @@
该目录为软件初始目录<br>
功能:主要用于软件在首次启动,或者往次启动时候对设置,事件的初始化<br>
InitEnv 初始化环境检测<br>
InitFonts 初始化字体<br>
InitOptions 初始化软件设置<br>
InitSubAbility 初始化子窗口的Ability<br>
InitEventHub 初始化事件总线<br>
InitGlobalDWI 初始化设备分辨率,窗体尺寸<br>
InitHub 调用子初始化文件入口<br>

View File

@ -0,0 +1,4 @@
LeftSideTab<br>
左边栏布局组件

View File

@ -0,0 +1,2 @@
RightSideTab<br>
右边栏布局组件