7#ifndef GHOSTTY_VT_RENDER_H
8#define GHOSTTY_VT_RENDER_H
GhosttyRenderStateRowData
GhosttyResult ghostty_render_state_new(const GhosttyAllocator *allocator, GhosttyRenderState *state)
GhosttyResult ghostty_render_state_set(GhosttyRenderState state, GhosttyRenderStateOption option, const void *value)
GhosttyResult ghostty_render_state_row_cells_new(const GhosttyAllocator *allocator, GhosttyRenderStateRowCells *out_cells)
GhosttyResult ghostty_render_state_update(GhosttyRenderState state, GhosttyTerminal terminal)
GhosttyResult ghostty_render_state_row_cells_select(GhosttyRenderStateRowCells cells, uint16_t x)
void ghostty_render_state_free(GhosttyRenderState state)
GhosttyResult ghostty_render_state_colors_get(GhosttyRenderState state, GhosttyRenderStateColors *out_colors)
GhosttyResult ghostty_render_state_row_cells_get(GhosttyRenderStateRowCells cells, GhosttyRenderStateRowCellsData data, void *out)
GhosttyRenderStateRowCellsData
GhosttyResult ghostty_render_state_row_set(GhosttyRenderStateRowIterator iterator, GhosttyRenderStateRowOption option, const void *value)
GhosttyResult ghostty_render_state_row_iterator_new(const GhosttyAllocator *allocator, GhosttyRenderStateRowIterator *out_iterator)
void ghostty_render_state_row_cells_free(GhosttyRenderStateRowCells cells)
GhosttyResult ghostty_render_state_row_get(GhosttyRenderStateRowIterator iterator, GhosttyRenderStateRowData data, void *out)
GhosttyRenderStateCursorVisualStyle
bool ghostty_render_state_row_iterator_next(GhosttyRenderStateRowIterator iterator)
struct GhosttyRenderStateRowCells * GhosttyRenderStateRowCells
bool ghostty_render_state_row_cells_next(GhosttyRenderStateRowCells cells)
void ghostty_render_state_row_iterator_free(GhosttyRenderStateRowIterator iterator)
struct GhosttyRenderState * GhosttyRenderState
GhosttyRenderStateRowOption
GhosttyResult ghostty_render_state_get(GhosttyRenderState state, GhosttyRenderStateData data, void *out)
struct GhosttyRenderStateRowIterator * GhosttyRenderStateRowIterator
@ GHOSTTY_RENDER_STATE_ROW_DATA_INVALID
@ GHOSTTY_RENDER_STATE_ROW_DATA_CELLS
@ GHOSTTY_RENDER_STATE_ROW_DATA_RAW
@ GHOSTTY_RENDER_STATE_ROW_DATA_DIRTY
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_VIEWPORT_X
@ GHOSTTY_RENDER_STATE_DATA_COLOR_FOREGROUND
@ GHOSTTY_RENDER_STATE_DATA_COLOR_PALETTE
@ GHOSTTY_RENDER_STATE_DATA_COLOR_CURSOR
@ GHOSTTY_RENDER_STATE_DATA_DIRTY
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_VIEWPORT_HAS_VALUE
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_VISUAL_STYLE
@ GHOSTTY_RENDER_STATE_DATA_COLOR_CURSOR_HAS_VALUE
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_VIEWPORT_Y
@ GHOSTTY_RENDER_STATE_DATA_INVALID
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_PASSWORD_INPUT
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_VISIBLE
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_VIEWPORT_WIDE_TAIL
@ GHOSTTY_RENDER_STATE_DATA_COLOR_BACKGROUND
@ GHOSTTY_RENDER_STATE_DATA_ROW_ITERATOR
@ GHOSTTY_RENDER_STATE_DATA_CURSOR_BLINKING
@ GHOSTTY_RENDER_STATE_DATA_ROWS
@ GHOSTTY_RENDER_STATE_DATA_COLS
@ GHOSTTY_RENDER_STATE_OPTION_DIRTY
@ GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_RAW
@ GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_INVALID
@ GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_GRAPHEMES_LEN
@ GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_GRAPHEMES_BUF
@ GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_STYLE
@ GHOSTTY_RENDER_STATE_CURSOR_VISUAL_STYLE_BLOCK
@ GHOSTTY_RENDER_STATE_CURSOR_VISUAL_STYLE_BAR
@ GHOSTTY_RENDER_STATE_CURSOR_VISUAL_STYLE_BLOCK_HOLLOW
@ GHOSTTY_RENDER_STATE_CURSOR_VISUAL_STYLE_UNDERLINE
@ GHOSTTY_RENDER_STATE_DIRTY_FALSE
@ GHOSTTY_RENDER_STATE_DIRTY_PARTIAL
@ GHOSTTY_RENDER_STATE_DIRTY_FULL
@ GHOSTTY_RENDER_STATE_ROW_OPTION_DIRTY
struct GhosttyTerminal * GhosttyTerminal
GhosttyColorRgb foreground
GhosttyColorRgb background
GhosttyColorRgb palette[256]