RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_chart_frame_t Struct Reference

One flame frame. More...

#include <chart_flame.h>

Data Fields

int32_t parent
const char * text
uint32_t text_len
int32_t value

Detailed Description

One flame frame.

parent is the index of the parent frame, or -1 for a root (child of the chart total). text[0, text_len) is the cell label; NULL text paints no label. value is the inclusive weight: the children's values sum to at most their parent's, and layout clamps any overshoot to the parent's span.

Field Documentation

◆ parent

int32_t rmgui_chart_frame_t::parent

◆ text

const char* rmgui_chart_frame_t::text

◆ text_len

uint32_t rmgui_chart_frame_t::text_len

◆ value

int32_t rmgui_chart_frame_t::value

The documentation for this struct was generated from the following file: