PatchworkOS
Loading...
Searching...
No Matches
element_t Struct Reference

Opaque element structure. More...

#include <internal.h>

Data Fields

list_entry_t entry
 
list_t children
 
struct element * parent
 
element_id_t id
 
procedure_t proc
 
window_twin
 
void * private
 
rect_t rect
 
element_flags_t flags
 
char * text
 
text_props_t textProps
 
image_timage
 
image_props_t imageProps
 
theme_t theme
 

Detailed Description

Opaque element structure.

Definition at line 22 of file internal.h.

Field Documentation

◆ children

list_t element_t::children

◆ entry

list_entry_t element_t::entry

Definition at line 24 of file internal.h.

Referenced by element_free(), element_free_children(), element_new(), and element_new_raw().

◆ flags

◆ id

◆ image

image_t* element_t::image

Definition at line 35 of file internal.h.

Referenced by button_draw(), element_image_get(), element_new_raw(), and element_set_image().

◆ imageProps

image_props_t element_t::imageProps

Definition at line 36 of file internal.h.

Referenced by button_draw(), element_image_props_get(), and element_new_raw().

◆ parent

struct element* element_t::parent

Definition at line 26 of file internal.h.

Referenced by element_free(), element_get_window_point(), element_new(), and element_new_raw().

◆ private

void* element_t::private

Definition at line 30 of file internal.h.

Referenced by element_get_private(), element_new_raw(), and element_set_private().

◆ proc

procedure_t element_t::proc

Definition at line 28 of file internal.h.

Referenced by element_dispatch(), element_free(), element_new_raw(), and element_send_init().

◆ rect

◆ text

char* element_t::text

◆ textProps

text_props_t element_t::textProps

Definition at line 34 of file internal.h.

Referenced by button_draw(), element_get_text_props(), element_new_raw(), and label_procedure().

◆ theme

theme_t element_t::theme

Definition at line 37 of file internal.h.

Referenced by element_get_theme(), and element_new_raw().

◆ win


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