Commit graph

6 commits

Author SHA1 Message Date
Vidar Hokstad
3fa4211f06 Added significant number of X requests and event types, and a bunch of convenience functions.
This is still "rough", but it works.
2023-09-25 18:55:00 +01:00
Vidar Hokstad
9119b4062c Added PutImage support and a test 2023-08-08 21:43:27 +01:00
Vidar Hokstad
4e08564800 Handle the following requests:
CreateWindow, MapWindow, OpenFont, ListFonts, CreateGC, ChangeGC,
ClearArea, PolyFillRectangle, ImageText8

Parse the following Events:
Expose, MapNotify, ConfigureNotify

Added example script
2023-08-01 20:18:32 +01:00
Vidar Hokstad
8efdc3cff0 Handle "unused" type 2021-09-23 19:24:25 +01:00
Vidar Hokstad
ad16950b18 Missing require 2021-09-23 19:24:14 +01:00
Richard Ramsden
ad10e78306 Major refactor of packet builder
I decided to ditch the Packet class name and go with a Form module
that contains a BaseForm which child classes inherit from.

I've created a few tests so you can see how the BaseForm class
works and how packets can be read and sent over a socket to
an X11 server
2012-05-20 17:36:18 -07:00