An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# CrossUI: A Lightweight Cross-Platform UI Framework 🌐

![CrossUI](https://img.shields.io/badge/CrossUI-v1.0.0-blue.svg)
![GitHub Release](https://img.shields.io/badge/Release-v1.0.0-orange.svg)
![GitHub Issues](https://img.shields.io/github/issues/vishnu6512/crossui.svg)

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
#include

int 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!