MultiverseSocial.com

Channel circle › core 7 Container › composer

composer (core 7, sub 13, flat id 125)

55 functions
SignaturePurposeSourceScope
static uint32_t Ld32(const uint8_t *p)(no comment)ComposerChannel.c:13static
static uint64_t Ld64(const uint8_t *p)(no comment)ComposerChannel.c:14static
static uint32_t Send(struct ComposerChannel *restrict cp, uint32_t op, uint64_t pos, uint32_t del, const void *restrict d, uint32_t dl)(no comment)ComposerChannel.c:16static
uint32_t ComposerRefresh(struct ComposerChannel *cp)(no comment)ComposerChannel.c:32public
uint32_t ComposerOpen(struct ComposerChannel *cp, const char *path)(no comment)ComposerChannel.c:53public
static uint32_t Edit(struct ComposerChannel *cp, uint32_t op, uint64_t pos, const void *d, uint32_t dl)(no comment)ComposerChannel.c:62static
uint32_t ComposerInsertTag(struct ComposerChannel *cp, uint64_t pos, uint8_t op, const char *text)(no comment)ComposerChannel.c:67public
uint32_t ComposerSetAttr(struct ComposerChannel *cp, uint64_t pos, uint8_t aid, uint8_t tid, const void *val, uint32_t vlen)(no comment)ComposerChannel.c:76public
uint32_t ComposerDeleteNode(struct ComposerChannel *cp, uint64_t pos)(no comment)ComposerChannel.c:84public
uint32_t ComposerWrap(struct ComposerChannel *cp, uint64_t pos, uint8_t op)(no comment)ComposerChannel.c:85public
uint32_t ComposerUnwrap(struct ComposerChannel *cp, uint64_t pos)(no comment)ComposerChannel.c:86public
uint32_t ComposerUndo(struct ComposerChannel *cp)(no comment)ComposerChannel.c:87public
uint32_t ComposerRedo(struct ComposerChannel *cp)(no comment)ComposerChannel.c:88public
uint32_t ComposerSave(struct ComposerChannel *cp, uint64_t *saved_version)(no comment)ComposerChannel.c:89public
uint32_t ComposerClose(struct ComposerChannel *cp)(no comment)ComposerChannel.c:95public
uint64_t WriteComposerChannel(void *c, void *rec, long len)---- channels7 Open/Close/Join/Leave/Read/Write ----ComposerChannel.c:103public
uint64_t ReadComposerChannel(void *c, void *out, long cap)(no comment)ComposerChannel.c:113public
uint64_t JoinComposerChannel(void *c)(no comment)ComposerChannel.c:122public
void * LeaveComposerChannel(void *c)(no comment)ComposerChannel.c:128public
static void RtOpen(struct Channel *c)(no comment)ComposerChannel.c:134static
void CloseComposerChannel(struct Channel *c)(no comment)ComposerChannel.c:135public
struct Channel * OpenComposerChannel(struct ComposerChannel *cp, struct EditorChannel *ec, const char *owner)(no comment)ComposerChannel.c:144public
uint32_t ComposerPaletteBuild(struct ComposerTag *out, uint32_t max)(no comment)ComposerPalette.c:14public
const struct ComposerTag * ComposerPaletteFind(const struct ComposerTag *pal, uint32_t n, const char *name)(no comment)ComposerPalette.c:31public
static uint64_t NowMs(void)(no comment)ComposerPreview.c:24static
int ComposerNodeFor(const uint8_t *restrict doc, uint64_t n, uint64_t off, struct EdtBmlNode *restrict node, struct EdtBmlNode *restrict elem)---- click-to-cursor --------------------------------------------------------------------------------ComposerPreview.c:27public
int ComposerSnapElement(const uint8_t *restrict doc, uint64_t n, uint64_t off, uint8_t op, struct EdtBmlNode *restrict out)bb_layout (v2.1 path) records an element offset as "last byte the walker reported" (BMLWalk gives no opcode pointer for standard tags), so bx_src / BBS_PH br_src can sit on the END byte or attr tail just BEFORE the element.ComposerPreview.c:55public
int ComposerPreviewLayout(struct ComposerView *restrict v, const struct ComposerChannel *restrict cp)(no comment)ComposerPreview.c:70public
int ComposerPreviewClick(struct ComposerView *restrict v, const struct ComposerChannel *restrict cp, uint16_t x, uint16_t y)(no comment)ComposerPreview.c:81public
static int TypeOk(uint8_t aid, uint8_t tid)(no comment)ComposerPreview.c:115static
static uint8_t V21Type(uint8_t aid)(no comment)ComposerPreview.c:122static
static void Flush(struct CpvImp *restrict s)(no comment)ComposerPreview.c:138static
static void IOpen(struct BdCtx *x, uint8_t op, uint64_t m, uint64_t hi, uint64_t lo)(no comment)ComposerPreview.c:146static
static void IAttr(struct BdCtx *x, uint8_t aid, const uint8_t *v, uint32_t n)(no comment)ComposerPreview.c:155static
static void IText(struct BdCtx *x, uint8_t op, const uint8_t *t, uint16_t n)(no comment)ComposerPreview.c:166static
static void IClose(struct BdCtx *x, uint8_t op)(no comment)ComposerPreview.c:172static
int ComposerImportBmlw(const uint8_t *restrict src, size_t n, struct EdtBmlWriter *restrict w, uint32_t *restrict dropped)(no comment)ComposerPreview.c:181public
static void CsReload(struct ComposerSdl *restrict s)(no comment)ComposerSDL.c:55static
static void CsDid(struct ComposerSdl *restrict s, const char *what, uint32_t st)(no comment)ComposerSDL.c:64static
static const char * CsjsStore(void)(no comment)ComposerSDL.c:81static
static void CsjsLayout(struct ComposerSdl *restrict s)(no comment)ComposerSDL.c:88static
static void CsjsClose(struct ComposerSdl *restrict s, int relayout)(no comment)ComposerSDL.c:94static
static void CsjsOpen(struct ComposerSdl *restrict s)(no comment)ComposerSDL.c:100static
static const char * CsjsKeyName(uint32_t sc, char *one)(no comment)ComposerSDL.c:113static
static int CsjsKey(struct ComposerSdl *restrict s, uint32_t sc)1 = key consumedComposerSDL.c:127static
static int CsjsClick(struct ComposerSdl *restrict s, int x, int y)(no comment)ComposerSDL.c:138static
static int CsjsChannelEvent(struct ComposerSdl *restrict s)a CHEV_CLASS_CHANNEL code while JS runs: 1 = handled (the JSPage's own EditorChannel posts edit events too)ComposerSDL.c:146static
static void CsjsFrame(struct ComposerSdl *restrict s)(no comment)ComposerSDL.c:153static
static void CsKey(struct ComposerSdl *restrict s, uint32_t sc)(no comment)ComposerSDL.c:161static
static void CsClick(struct ComposerSdl *restrict s, float fx, float fy)(no comment)ComposerSDL.c:186static
static void CsEvent(struct ComposerSdl *restrict s, uint64_t code)one Channel Event code from EventChannelComposerSDL.c:210static
static int InCursor(const struct ComposerSdl *restrict s, uint32_t src, uint64_t *restrict end)(no comment)ComposerSDL.c:231static
static void CsDraw(struct ComposerSdl *restrict s, SDL_Renderer *restrict r)(no comment)ComposerSDL.c:241static
int ComposerSdlRun(struct NetXecChannel *nx, struct ComposerChannel *cp, const char *path)Runs the Composer UI on NetXec's window until NetXec shuts down (q / window close). The ComposerChannel must be open (OpenComposerChannel) and NetXec booted (EventChannel + display). Returns 0, or -1 if nothing could start.ComposerSDL.c:335public
int main(int argc, char **argv)Standalone composer.exe (compilecomposer): same boot as NetXec's own main (SDL_Init, OpenNetXecChannel), then the Composer on NetXec's window. Link with NetXecChannel.c built -Dmain=netxec_pod_main (as ./compile does for pclib).ComposerSDL.c:378public

Core-level functions of core 7 · Core 7 in the full manual

The > Web 4 < Channel Paradigm · full manual · privacy · contact

Hits--