https://github.com/vishnu6512/crossui
A lightweight, cross-platform UI framework built using SDL2 and C++. CrossUI provides a simple way to create interactive GUI applications that run on Windows, Linux, macOS, and even mobile platforms.
https://github.com/vishnu6512/crossui
cross cross-platform crossui development-environment front-end frontend macos maui-apps maui-library no-code rad uwp wf winforms
Last synced: 5 months ago
JSON representation
A lightweight, cross-platform UI framework built using SDL2 and C++. CrossUI provides a simple way to create interactive GUI applications that run on Windows, Linux, macOS, and even mobile platforms.
- Host: GitHub
- URL: https://github.com/vishnu6512/crossui
- Owner: vishnu6512
- Created: 2025-04-27T14:17:32.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-04-27T15:44:21.000Z (5 months ago)
- Last Synced: 2025-04-27T16:32:36.810Z (5 months ago)
- Topics: cross, cross-platform, crossui, development-environment, front-end, frontend, macos, maui-apps, maui-library, no-code, rad, uwp, wf, winforms
- Language: C++
- Size: 218 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CrossUI: A Lightweight Cross-Platform UI Framework π


Welcome to **CrossUI**, a lightweight and efficient cross-platform UI framework designed to simplify the development of interactive GUI applications. Built using SDL2 and C++, CrossUI allows developers to create applications that run seamlessly on Windows, Linux, macOS, and mobile platforms like Android and iOS.
## Table of Contents
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Support](#support)## Features π
- **Cross-Platform Support**: Write your code once and run it anywhere. CrossUI supports Windows, Linux, macOS, Android, and iOS.
- **Lightweight Design**: Minimal overhead allows for fast performance and a smooth user experience.
- **Simple API**: An easy-to-use API that helps you get started quickly without a steep learning curve.
- **Interactive Elements**: Create buttons, sliders, and other interactive components effortlessly.
- **Open Source**: CrossUI is free to use and modify under the MIT License.## Installation π οΈ
To get started with CrossUI, download the latest release from our [Releases section](https://github.com/vishnu6512/crossui/releases). Follow these steps to install:
1. **Download the Release**: Visit the [Releases section](https://github.com/vishnu6512/crossui/releases) to download the latest version.
2. **Extract the Files**: Unzip the downloaded file to your preferred directory.
3. **Set Up Your Environment**: Ensure you have SDL2 installed on your system. You can find installation instructions on the [SDL2 website](https://www.libsdl.org/).
4. **Compile Your Application**: Use your favorite C++ compiler to build your application. Ensure to link against the SDL2 libraries.## Usage π
Creating a simple GUI application with CrossUI is straightforward. Below is a basic example to get you started.
### Example Code
```cpp
#includeint main() {
CrossUI::Application app;CrossUI::Window window("Hello CrossUI", 800, 600);
CrossUI::Button button("Click Me", 100, 50);button.onClick([]() {
std::cout << "Button Clicked!" << std::endl;
});window.add(button);
app.run(window);return 0;
}
```### Running the Application
1. Save your code in a `.cpp` file.
2. Compile the code using your C++ compiler.
3. Run the generated executable to see your application in action.## Contributing π€
We welcome contributions from everyone. To contribute to CrossUI:
1. **Fork the Repository**: Click the "Fork" button at the top right of the page.
2. **Clone Your Fork**: Clone your forked repository to your local machine.
```bash
git clone https://github.com/YOUR_USERNAME/crossui.git
```
3. **Create a Branch**: Create a new branch for your feature or bug fix.
```bash
git checkout -b feature-name
```
4. **Make Changes**: Implement your changes and commit them.
```bash
git commit -m "Description of changes"
```
5. **Push Your Changes**: Push your branch to your forked repository.
```bash
git push origin feature-name
```
6. **Open a Pull Request**: Go to the original repository and click "New Pull Request".## License π
CrossUI is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
## Support π¬
If you have any questions or need assistance, please check the [Releases section](https://github.com/vishnu6512/crossui/releases) for the latest updates. You can also open an issue in the repository if you encounter any problems.
## Topics π·οΈ
This project is related to the following topics:
- android
- cpp20
- cross-platform
- framework
- ios
- linux
- macos
- sdl2
- user-interface
- windows## Getting Involved π
We believe in community and collaboration. Whether you are a seasoned developer or just starting, your contributions are valuable. Join us in building a better UI framework.
### Community Guidelines
- Be respectful and considerate to all contributors.
- Follow the code of conduct outlined in the repository.
- Share your knowledge and help others in the community.## Conclusion
Thank you for checking out CrossUI! We hope this framework helps you create amazing applications with ease. Donβt forget to visit our [Releases section](https://github.com/vishnu6512/crossui/releases) for the latest updates and releases. Happy coding!