+
Skip to content

alaingalvan/CrossWindow-Demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrossWindow Demos

cmake-img License

A variety of demos showcasing how to use CrossWindow to build cross platform applications.

Getting Started

First install Git, then open any terminal such as Hyper in any folder and type:

# 🐑 Clone the repo
git clone https://github.com/alaingalvan/crosswindow-demos --recurse-submodules

# 💿 go inside the folder
cd crosswindow-demos

# 👯 If you forget to `recurse-submodules` you can always run:
git submodule update --init

# 🔼 Go inside any demo, like for instance the Hello Triangle folder:
cd src/04-cross-platform-hello-triangle/

Demos

Window Creation

A basic example showing how to create a window.

Events

An example using every possible event in CrossWindow.

Open / Save / Alert Dialogs

Creating open / save dialogs for grabbing files. Creating alert messages for warnings, errors, or confirmations in your application.

Cross Platform Hello Triangle

Hello Triangle Cover Image

An example showcasing the rendering of a simple triangle in every modern graphics API (Vulkan / DirectX 12 / DirectX 11 / OpenGL / Metal) and operating system.

About

🥪 Examples of how to use CrossWindow for things like rendering graphics, listening to events, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载