GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_widget_json_ctx Struct Reference

A context to propagate values top down and bottom up. More...

#include <gp_widget_json.h>

Collaboration diagram for gp_widget_json_ctx:
Collaboration graph
[legend]

Data Fields

gp_htable ** uids
 A hash table to store the id -> widget mapping to.
 
gp_widgetfocused
 A widget that should be focused when layout is loaded.
 
const gp_widget_json_callbackscallbacks
 An optional table of widget callbacks.
 

Detailed Description

A context to propagate values top down and bottom up.

Definition at line 73 of file gp_widget_json.h.

Field Documentation

◆ callbacks

const gp_widget_json_callbacks* gp_widget_json_ctx::callbacks

An optional table of widget callbacks.

If not set the callbacks are resolved by the dynamic linker.

Definition at line 91 of file gp_widget_json.h.

◆ focused

gp_widget* gp_widget_json_ctx::focused

A widget that should be focused when layout is loaded.

Passed down from the json loader.

Definition at line 85 of file gp_widget_json.h.

◆ uids

gp_htable** gp_widget_json_ctx::uids

A hash table to store the id -> widget mapping to.

Passed down from the application.

Definition at line 79 of file gp_widget_json.h.


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