Channel circle › core 7 Container › composer
composer (core 7, sub 13, flat id 125)
55 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| static uint32_t Ld32(const uint8_t *p) | (no comment) | ComposerChannel.c:13 | static |
| static uint64_t Ld64(const uint8_t *p) | (no comment) | ComposerChannel.c:14 | static |
| 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:16 | static |
| uint32_t ComposerRefresh(struct ComposerChannel *cp) | (no comment) | ComposerChannel.c:32 | public |
| uint32_t ComposerOpen(struct ComposerChannel *cp, const char *path) | (no comment) | ComposerChannel.c:53 | public |
| static uint32_t Edit(struct ComposerChannel *cp, uint32_t op, uint64_t pos, const void *d, uint32_t dl) | (no comment) | ComposerChannel.c:62 | static |
| uint32_t ComposerInsertTag(struct ComposerChannel *cp, uint64_t pos, uint8_t op, const char *text) | (no comment) | ComposerChannel.c:67 | public |
| 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:76 | public |
| uint32_t ComposerDeleteNode(struct ComposerChannel *cp, uint64_t pos) | (no comment) | ComposerChannel.c:84 | public |
| uint32_t ComposerWrap(struct ComposerChannel *cp, uint64_t pos, uint8_t op) | (no comment) | ComposerChannel.c:85 | public |
| uint32_t ComposerUnwrap(struct ComposerChannel *cp, uint64_t pos) | (no comment) | ComposerChannel.c:86 | public |
| uint32_t ComposerUndo(struct ComposerChannel *cp) | (no comment) | ComposerChannel.c:87 | public |
| uint32_t ComposerRedo(struct ComposerChannel *cp) | (no comment) | ComposerChannel.c:88 | public |
| uint32_t ComposerSave(struct ComposerChannel *cp, uint64_t *saved_version) | (no comment) | ComposerChannel.c:89 | public |
| uint32_t ComposerClose(struct ComposerChannel *cp) | (no comment) | ComposerChannel.c:95 | public |
| uint64_t WriteComposerChannel(void *c, void *rec, long len) | ---- channels7 Open/Close/Join/Leave/Read/Write ---- | ComposerChannel.c:103 | public |
| uint64_t ReadComposerChannel(void *c, void *out, long cap) | (no comment) | ComposerChannel.c:113 | public |
| uint64_t JoinComposerChannel(void *c) | (no comment) | ComposerChannel.c:122 | public |
| void * LeaveComposerChannel(void *c) | (no comment) | ComposerChannel.c:128 | public |
| static void RtOpen(struct Channel *c) | (no comment) | ComposerChannel.c:134 | static |
| void CloseComposerChannel(struct Channel *c) | (no comment) | ComposerChannel.c:135 | public |
| struct Channel * OpenComposerChannel(struct ComposerChannel *cp, struct EditorChannel *ec, const char *owner) | (no comment) | ComposerChannel.c:144 | public |
| uint32_t ComposerPaletteBuild(struct ComposerTag *out, uint32_t max) | (no comment) | ComposerPalette.c:14 | public |
| const struct ComposerTag * ComposerPaletteFind(const struct ComposerTag *pal, uint32_t n, const char *name) | (no comment) | ComposerPalette.c:31 | public |
| static uint64_t NowMs(void) | (no comment) | ComposerPreview.c:24 | static |
| 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:27 | public |
| 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:55 | public |
| int ComposerPreviewLayout(struct ComposerView *restrict v, const struct ComposerChannel *restrict cp) | (no comment) | ComposerPreview.c:70 | public |
| int ComposerPreviewClick(struct ComposerView *restrict v, const struct ComposerChannel *restrict cp, uint16_t x, uint16_t y) | (no comment) | ComposerPreview.c:81 | public |
| static int TypeOk(uint8_t aid, uint8_t tid) | (no comment) | ComposerPreview.c:115 | static |
| static uint8_t V21Type(uint8_t aid) | (no comment) | ComposerPreview.c:122 | static |
| static void Flush(struct CpvImp *restrict s) | (no comment) | ComposerPreview.c:138 | static |
| static void IOpen(struct BdCtx *x, uint8_t op, uint64_t m, uint64_t hi, uint64_t lo) | (no comment) | ComposerPreview.c:146 | static |
| static void IAttr(struct BdCtx *x, uint8_t aid, const uint8_t *v, uint32_t n) | (no comment) | ComposerPreview.c:155 | static |
| static void IText(struct BdCtx *x, uint8_t op, const uint8_t *t, uint16_t n) | (no comment) | ComposerPreview.c:166 | static |
| static void IClose(struct BdCtx *x, uint8_t op) | (no comment) | ComposerPreview.c:172 | static |
| int ComposerImportBmlw(const uint8_t *restrict src, size_t n, struct EdtBmlWriter *restrict w, uint32_t *restrict dropped) | (no comment) | ComposerPreview.c:181 | public |
| static void CsReload(struct ComposerSdl *restrict s) | (no comment) | ComposerSDL.c:55 | static |
| static void CsDid(struct ComposerSdl *restrict s, const char *what, uint32_t st) | (no comment) | ComposerSDL.c:64 | static |
| static const char * CsjsStore(void) | (no comment) | ComposerSDL.c:81 | static |
| static void CsjsLayout(struct ComposerSdl *restrict s) | (no comment) | ComposerSDL.c:88 | static |
| static void CsjsClose(struct ComposerSdl *restrict s, int relayout) | (no comment) | ComposerSDL.c:94 | static |
| static void CsjsOpen(struct ComposerSdl *restrict s) | (no comment) | ComposerSDL.c:100 | static |
| static const char * CsjsKeyName(uint32_t sc, char *one) | (no comment) | ComposerSDL.c:113 | static |
| static int CsjsKey(struct ComposerSdl *restrict s, uint32_t sc) | 1 = key consumed | ComposerSDL.c:127 | static |
| static int CsjsClick(struct ComposerSdl *restrict s, int x, int y) | (no comment) | ComposerSDL.c:138 | static |
| 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:146 | static |
| static void CsjsFrame(struct ComposerSdl *restrict s) | (no comment) | ComposerSDL.c:153 | static |
| static void CsKey(struct ComposerSdl *restrict s, uint32_t sc) | (no comment) | ComposerSDL.c:161 | static |
| static void CsClick(struct ComposerSdl *restrict s, float fx, float fy) | (no comment) | ComposerSDL.c:186 | static |
| static void CsEvent(struct ComposerSdl *restrict s, uint64_t code) | one Channel Event code from EventChannel | ComposerSDL.c:210 | static |
| static int InCursor(const struct ComposerSdl *restrict s, uint32_t src, uint64_t *restrict end) | (no comment) | ComposerSDL.c:231 | static |
| static void CsDraw(struct ComposerSdl *restrict s, SDL_Renderer *restrict r) | (no comment) | ComposerSDL.c:241 | static |
| 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:335 | public |
| 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:378 | public |