Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

wayland4pas

a wayland header generator for pascal

View on GitLab

Member rating

No ratings yet.

Sign in to rate this project.

README

wayland4pas

Header-units for using core wayland protocol with freepascal.

The following units are included:

pascal
wl_basic_types.pas  // real basic types
wl_iflist.pas       // probably not useful to anyone
wl_libwl.pas        // dynloader for libwayland.client.so
wl_core.pas         // the main thing, generated from wayland.xml using the scanner.pas tool

And the following additional content:

pascal
scanner.pas         // tool to generate things like wl_core.pas

test.pas            // remake of some Hello-World Tutorial
bilder.bin          // Image content for test.pas
screenshot.png      // screenshot from test.pas

readme.txt          // this file

Copyright: From my part, too minimal to mention anything here.

Note: from protocol updates (included using the scanner tool), the API might change in a way that requires application code updates (specificly for the event-listener records), so it's probably best to copy the actual units to the app-src.

A more complete empty-app example added in ./betterexample