CJForm¶
Tip
CJForm is a native Windows UI library for the Cangjie language. All widgets are custom-drawn. Clone and run.
- Press Left and Right to navigate between pages!
- Click the search bar at the top or press / to quickly find content!
- Click the theme button at the top to switch the website theme!
Enjoy reading!
Introduction¶
CJForm is a native Windows UI library for the Cangjie language. It bridges to Win32 API / GDI+ through a C++ layer, with all widgets custom-drawn. No third-party UI framework dependencies.
Features Dark / Light dual themes, a declarative StyleSheet system, a complete layout engine, and an animation system, covering 25+ common widgets.
Core Features¶
25+ widget types, all custom-drawn via GDI+. No reliance on native Windows controls.
Built-in Dark / Light themes with runtime switching. All widget colors respond automatically.
StyleSheet system similar to CSS classes — define once, reuse everywhere.
VBox / HBox flexible layout with LayoutFrame for precise control and window resizing.
Easing functions + color interpolation for smooth hover and click animations.
ListView, TreeView, TableView, TabView for full data display capabilities.
Quick Links¶
-
Getting Started
Clone and run your first CJForm app in 10 minutes
-
GitHub Repository
View source code, submit issues or PRs
-
Widget Reference
Complete API and examples for 25+ widgets
-
Theme System
Dark / Light theme configuration and customization
System Requirements¶
- OS: Windows 10 / 11 64-bit
- Toolchain: Cangjie toolchain (cjc >= 1.0.5)
- No extra configuration needed — clone and run