xlib
- Header: {z88dk}/include/X11
- Include:
#include <X11/Xlib.h>
Starting from version 1.8 of z88dk we are providing an experimental library to emulate some basic behaviour fo the Xlib functions. It isn't based on the network layer as the original library, and it implements only a tiny subset of the original functions but, being based on the "monochrome graphics" library, it is fairy portable to many of the supported targets.
This example source program can be compiled and run with almost no changes for both the z88dk systems and a Unix X-Windows system.
The window background is saved and the window title, and the XPM icon are managed as expected. The font loading is cleverly simulated, and the size is adapted by choosing between two base fonts.
An AWK script is provided to easily convert the X font in a form suitable for the library.
- Overview
- Platform List
- Unsupported Platforms
- i8080/5 Support
- Homebrew hardware quickstart
- Retargetting
- Building the libraries
- Clang support
- Pragmas
- Adding to Classic
- Introduction
- Library Configuration
- CRT
- Header Files
- Assembly Language
- Library in Depth
- Embedded Platform
- Adding to NewLib
- Benchmarks
- Datatypes
- Debugging
- Decompression
- More than 64k
- Deficiencies
- Compiling Larger Applications
- Importing routines written in 8080 assembly mnemonics
- Using CP/M libraries in REL format with z88dk
- Writing optimal code
- Speeding up Compilation
- CMake usage