1#ifndef ARC_NCURSES_ELEMENT_H_
2#define ARC_NCURSES_ELEMENT_H_
40#define ARC_CONSOLE_ELEMENT_FLAG_NONE 0b00000000
41#define ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE 0b00000001
42#define ARC_CONSOLE_ELEMENT_FLAG_SELECTED 0b00000010
struct ARC_ConsoleView ARC_ConsoleView
void ARC_ConsoleElement_DefaultRenderFn(ARC_ConsoleView *view, ARC_ConsoleElement *element)
struct ARC_ConsoleElement ARC_ConsoleElement
void ARC_ConsoleElement_SetSelected(ARC_ConsoleElement *element, ARC_Bool selected)
ARC_Bool ARC_ConsoleElement_IsSelectable(ARC_ConsoleElement *element)
void ARC_ConsoleElement_Create(ARC_ConsoleElement **element, uint32_t type, uint8_t flags, ARC_String *string, ARC_Point pos, ARC_ConsoleElement_RenderFn renderFn)
void(* ARC_ConsoleElement_RenderFn)(ARC_ConsoleView *view, ARC_ConsoleElement *element)
void ARC_ConsoleElement_ToggleSelected(ARC_ConsoleElement *element)
void ARC_ConsoleElement_Destroy(ARC_ConsoleElement *element)
ARC_ConsoleElement_RenderFn renderFn
substring position within a string