Skip to content

XPCE on SDL Cairo compatibility

Jan Wielemaker edited this page May 19, 2025 · 3 revisions

Compatibility notes

  • To fill an object with the foreground colour, the old system would fill with @black_image and set the colour. The new system uses the reserved names foreground and background.
  • Set image->background to @nil to create an image with transparent background.
  • SDL does not allow to specify the location if windows (XPCE frames). Positions are thus ignored. It does allow specifying the location of transient frames relative to the parent frame. The X,Y of a frame is handled as relative to the parent frame for transient frames.
Clone this wiki locally