C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
ui_layout.c File Reference

Backend-agnostic layout helpers. More...

#include "ui_layout.h"
#include "ui_backend.h"
#include <string.h>
Include dependency graph for ui_layout.c:

Go to the source code of this file.

Functions

void ui_framed_surface_destroy (UiFramedSurface *fs)
 Destroy a framed surface and release its resources.
UiFramedSurface ui_framed_surface_new (UiSurface *parent, UiRect rect)
 Create a framed surface (outer border + inner content area).

Detailed Description

Backend-agnostic layout helpers.

Implements utility functions that build higher-level layout concepts (framed surfaces, etc.) entirely through the portable UALUI API so they work with any compiled-in backend.

Definition in file ui_layout.c.