10 (*element)->
type = type;
11 (*element)->flags = flags;
12 (*element)->string = string;
13 (*element)->pos = pos;
14 (*element)->renderFn = renderFn;
47 element->
flags &= ~ARC_CONSOLE_ELEMENT_FLAG_SELECTED;
void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE
#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE
border options
void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute)
sets a border on the ARC_ConsoleView
void ARC_ConsoleElement_DefaultRenderFn(ARC_ConsoleView *view, ARC_ConsoleElement *element)
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_NCursesElement_ToggleSelected(ARC_ConsoleElement *element)
void ARC_ConsoleElement_Destroy(ARC_ConsoleElement *element)
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTED
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE
void(* ARC_ConsoleElement_RenderFn)(ARC_ConsoleView *view, ARC_ConsoleElement *element)
substring position within a string