lboklin / gdwlroots

Fork of gdwlroots to be used with Simula.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gdwlroots

This is a Godot module which provides bindings to wlroots, for building Wayland compositors within Godot.

Installation

In order to use this module, you must compile Godot from source with gdwlroots. Refer to the upstream instructions for additional information. To add gdwlroots, check out the git repository into the appropriate place:

git clone https://git.sr.ht/~sircmpwn/gdwlroots modules/gdwlroots/

This will make the gdwlroots nodes available in the Godot editor.

Design

gdwlroots attempts to provide bindings between gdscript and wlroots that export the wlroots API as faithfully as possible. Most wlroots types are provided via the Godot ClassDB with wl_signals rigged up as Godot signals, getters/setters for memebers of wlroots structs, and methods which correspond to wlroots functions. Some knowledge of wlroots is recommended for using this module.

godotston

An example godot project which implements a simple Wayland compositor with gdwlroots is available in the godotston directory.

About

Fork of gdwlroots to be used with Simula.

License:MIT License


Languages

Language:C++ 89.8%Language:GDScript 6.3%Language:Python 2.7%Language:Makefile 1.1%Language:C 0.1%