MultiverseSocial.com

Channel circle › core 7 Container

7 Container: core-level functions

The functions that make up the core channel itself.

313 functions
SignaturePurposeSourceScope
int ContKeyCaptured(struct ContainerChannel *cc)(no comment)ContRouter.c:19public
static inline int RouteKey(struct ContainerChannel *cc, const struct EventRec *r)(no comment)ContRouter.c:27static
static int RouteEvent(struct ContainerChannel *cc, const uint64_t w[2])Decode + dispatch one record. static: the pump below gets it inlined (flat hot path).ContRouter.c:62static
int ContRouteEvent(struct ContainerChannel *cc, const uint64_t w[2])(no comment)ContRouter.c:101public
int ContPumpEvents(struct ContainerChannel *cc, int max_records)(no comment)ContRouter.c:106public
static void NoteUnimplOnce(uint8_t opcode)(no comment)ContainerChannel.c:29static
static void RGBToRgba(uint32_t rgb, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a)(no comment)ContainerChannel.c:38static
static void ApplyApen(struct ContScreen *scr)(no comment)ContainerChannel.c:46static
static struct ContainerNode * FindOrMakeScreenRoot(struct ContainerChannel *cc)(no comment)ContainerChannel.c:54static
static struct ContainerMember * AddMember(struct ContainerChannel *cc, struct ContainerNode *node, uint32_t kind, const char *name, void *payload)(no comment)ContainerChannel.c:68static
static struct ContGob * FindGob(struct ContainerChannel *cc, uint64_t id)(no comment)ContainerChannel.c:151static
static struct ContainerChannel * OpenContainerChannelBody(void)GPU sub: OpenContainerGPUChannel / CloseContainerGPUChannel / GetContainerGPUChannel / SyncNetxecGPUChannel / CommandContainerGPUChannel live in GPUChannel.c (Container gpu subContainerChannel.c:185static
static void CloseContainerChannelBody(struct ContainerChannel *cc)(no comment)ContainerChannel.c:246static
void ContainerEnterCommandMode(struct ContainerChannel *cc)(no comment)ContainerChannel.c:279public
int ContainerSubOpen(struct ContainerChannel *cc, uint32_t sub_id)Sub open / screenContainerChannel.c:289public
int ContainerSubClose(struct ContainerChannel *cc, uint32_t sub_id)(no comment)ContainerChannel.c:326public
int ContainerGfxClear(struct ContainerChannel *cc)GraphicsContainerChannel.c:358public
int ContainerGfxSetAPen(struct ContainerChannel *cc, uint32_t rgb)(no comment)ContainerChannel.c:368public
int ContainerGfxSetBPen(struct ContainerChannel *cc, uint32_t rgb)(no comment)ContainerChannel.c:376public
int ContainerGfxPixel(struct ContainerChannel *cc, int32_t x, int32_t y)(no comment)ContainerChannel.c:383public
int ContainerGfxRect(struct ContainerChannel *cc, int32_t x, int32_t y, int32_t w, int32_t h)(no comment)ContainerChannel.c:391public
int ContainerGfxFillRect(struct ContainerChannel *cc, int32_t x, int32_t y, int32_t w, int32_t h)(no comment)ContainerChannel.c:402public
int ContainerGfxLine(struct ContainerChannel *cc, int32_t x1, int32_t y1, int32_t x2, int32_t y2)(no comment)ContainerChannel.c:413public
int ContainerGfxText(struct ContainerChannel *cc, int32_t x, int32_t y, const char *text)(no comment)ContainerChannel.c:422public
static int GobZCmp(const void *a, const void *b)(no comment)ContainerChannel.c:458static
int ContainerGfxComposite(struct ContainerChannel *cc)(no comment)ContainerChannel.c:468public
static void ContOutputPixels(struct ContainerChannel *cc, int *ww, int *wh)(no comment)ContainerChannel.c:669static
static void ContLetterbox(struct ContainerChannel *cc, struct ContBox *b)(no comment)ContainerChannel.c:682static
float ContViewScale(struct ContainerChannel *cc)(no comment)ContainerChannel.c:701public
static void ContDropScaledFaces(struct ContainerChannel *cc)(no comment)ContainerChannel.c:708static
int ContainerEnsureScreenImage(struct ContainerChannel *cc)(no comment)ContainerChannel.c:737public
int ContainerBeginFrame(struct ContainerChannel *cc)(no comment)ContainerChannel.c:772public
static void ContDumpViewPNG(struct ContainerChannel *cc, const char *path)Dump Cont logical 640x480 compose to PNG (SDL3_image). One-shot via flag file.ContainerChannel.c:788static
int ContainerEndFrame(struct ContainerChannel *cc)(no comment)ContainerChannel.c:807public
int ContainerGfxPresent(struct ContainerChannel *cc)(no comment)ContainerChannel.c:870public
struct ContGob * ContainerGobCreate(struct ContainerChannel *cc, const char *name, int32_t x, int32_t y, int32_t w, int32_t h, int32_t z)Gob / GadgetContainerChannel.c:886public
struct ContGadget * ContainerGadgetCreate(struct ContainerChannel *cc, const char *name, const char *label, int32_t x, int32_t y, int32_t w, int32_t h, int32_t z)(no comment)ContainerChannel.c:923public
int ContainerGobMove(struct ContainerChannel *cc, uint64_t id, int32_t x, int32_t y)(no comment)ContainerChannel.c:980public
void ContGobSetOnDisplay(struct ContGob *g, int on)(no comment)ContainerChannel.c:994public
int ContainerGobShow(struct ContainerChannel *cc, uint64_t id, int show)(no comment)ContainerChannel.c:1005public
int ContainerGobRaise(struct ContainerChannel *cc, uint64_t id)(no comment)ContainerChannel.c:1014public
int ContainerGobLower(struct ContainerChannel *cc, uint64_t id)(no comment)ContainerChannel.c:1022public
void ContainerQueryScreen(struct ContainerChannel *cc, uint16_t *out_gobs, uint16_t *out_gadgets, int32_t *out_active)(no comment)ContainerChannel.c:1030public
int ContainerCfgOpen(struct ContainerChannel *cc)Channel Config wrappersContainerChannel.c:1046public
int ContainerCfgClose(struct ContainerChannel *cc)(no comment)ContainerChannel.c:1051public
int ContainerCfgUserAdd(struct ContainerChannel *cc, const char *name)(no comment)ContainerChannel.c:1056public
int ContainerCfgLink(struct ContainerChannel *cc, uint32_t id_a, uint32_t id_b)(no comment)ContainerChannel.c:1061public
int ContainerDispatchCommand(struct ContainerChannel *cc, uint8_t opcode, const void *payload, uint32_t len)DispatchContainerChannel.c:1070public
struct ContainerNode * ContainerCreateNode(struct ContainerChannel *cc, const char *name, uint32_t kind)HelpersContainerChannel.c:1319public
int ContainerQuery(struct ContainerChannel *cc, uint32_t *out_nodes, uint32_t *out_windows)(no comment)ContainerChannel.c:1352public
int ContainerEnumNodes(struct ContainerChannel *cc, uint64_t *out_ids, uint32_t cap, uint32_t *out_count)(no comment)ContainerChannel.c:1362public
int ContainerAttachWindow(struct ContainerChannel *cc, struct SDL_Window *win)(no comment)ContainerChannel.c:1377public
int ContainerSetRenderer(struct ContainerChannel *cc, struct SDL_Renderer *ren)(no comment)ContainerChannel.c:1411public
int ContainerJoinChannel(struct ContainerChannel *cc, struct Channel *peer)(no comment)ContainerChannel.c:1423public
int ContainerLeaveChannel(struct ContainerChannel *cc, struct Channel *peer)(no comment)ContainerChannel.c:1451public
void ContainerStatusf(struct ContainerChannel *cc, const char *fmt, ...)Status overlay + HyperView-style tickContainerChannel.c:1475public
int ContMapWindowToView(struct ContainerChannel *cc, int32_t wx, int32_t wy, int32_t *vx, int32_t *vy)(no comment)ContainerChannel.c:1485public
static void ContainerAdvanceAnimGobs(struct ContainerChannel *cc, uint32_t now)(no comment)ContainerChannel.c:1521static
static void ContainerPaintStatusOverlay(struct ContainerChannel *cc)(no comment)ContainerChannel.c:1588static
int ContRegisterTextPane(struct ContainerChannel *cc, struct ContTextPane *tp)(no comment)ContainerChannel.c:1618public
int ContRegisterPrefsPane(struct ContainerChannel *cc, struct ContPrefsPane *pp)(no comment)ContainerChannel.c:1639public
int ContRegisterSuperBitmap(struct ContainerChannel *cc, struct ContSuperBitmap *sb)(no comment)ContainerChannel.c:1660public
int ContRegisterFilePop(struct ContainerChannel *cc, struct ContFilePop *fp)(no comment)ContainerChannel.c:1680public
int ContRegisterTitlebar(struct ContainerChannel *cc, struct ContTitlebar *tb)(no comment)ContainerChannel.c:1702public
int ContainerTick(struct ContainerChannel *cc)(no comment)ContainerChannel.c:1727public
struct ContAnimGob * ContainerAnimGobCreate(struct ContainerChannel *cc, const char *name, int32_t x, int32_t y, int32_t strip_w, int32_t strip_h, int32_t cols, int32_t rows, int32_t frame_delay_ms, int32_t z)ContAnimGob APIContainerChannel.c:1910public
int ContainerAnimGobSetGrid(struct ContAnimGob *ag, int32_t cols, int32_t rows)(no comment)ContainerChannel.c:1985public
static void ContAnimgobApplySize(struct ContAnimGob *ag, struct Image *img)AnimGob images come from ImageChannel: GetImage() returns a blank alpha-0 image at once and URLChannel's curl pool fetches it (file,ContainerChannel.c:2012static
static int ContAnimGobImageUpdate(struct ImageObserver *obs, struct Image *img, uint32_t infoflags, int32_t x, int32_t y, int32_t w, int32_t h)(no comment)ContainerChannel.c:2030static
void ContainerAnimGobDropImage(struct ContAnimGob *ag)(no comment)ContainerChannel.c:2055public
static int ContAssetExists(const char *name)(no comment)ContainerChannel.c:2063static
int ContainerAnimGobLoadImage(struct ContainerChannel *cc, struct ContAnimGob *ag, const char *image_file)(no comment)ContainerChannel.c:2069public
int ContainerAnimGobSetPlaying(struct ContAnimGob *ag, int playing)(no comment)ContainerChannel.c:2121public
int ContainerAnimGobGotoFrame(struct ContAnimGob *ag, int32_t frame)(no comment)ContainerChannel.c:2130public
void ContainerGadgetSetDefaultSize(struct ContainerChannel *cc, int32_t w, int32_t h)(no comment)ContainerChannel.c:2140public
struct ContGadget * ContainerGadgetCreateSized(struct ContainerChannel *cc, const char *name, const char *label, int32_t x, int32_t y, int32_t z)(no comment)ContainerChannel.c:2147public
struct ContainerChannel * OpenContainerChannel(void)Standard runtime entry points (Join/Leave/Read/Write/Open/Close) -- thin wrappers, behaviour of Open/Close unchanged (bodies renamed *Body). See CHREC_RUNTIME in defines.h.ContainerChannel.c:2159public
void CloseContainerChannel(struct ContainerChannel *cc)(no comment)ContainerChannel.c:2165public
static void ContdispRuntimeRun(struct Channel *ch, long unused)(no comment)ContainerDisplayChannel.c:21static
struct ContainerDisplayChannel * ContainerDisplayChannelGet(void)(no comment)ContainerDisplayChannel.c:35public
static struct ContainerDisplayChannel * OpenContainerDisplayChannelBody(void)(no comment)ContainerDisplayChannel.c:40static
static void CloseContainerDisplayChannelBody(struct ContainerDisplayChannel *ch)(no comment)ContainerDisplayChannel.c:126static
int ContainerDisplayAttach(struct ContainerDisplayChannel *cd, struct ContainerChannel *cc)(no comment)ContainerDisplayChannel.c:156public
struct ContainerChannel * ContainerDisplayGetCont(const struct ContainerDisplayChannel *cd)(no comment)ContainerDisplayChannel.c:170public
int ContainerDisplayJoin(struct ContainerDisplayChannel *cd, struct Channel *peer)(no comment)ContainerDisplayChannel.c:178public
struct ContainerDisplayChannel * OpenContainerDisplayChannel(void)Standard runtime entry points (Join/Leave/Read/Write/Open/Close) -- thin wrappers, behaviour of Open/Close unchanged (bodies renamed *Body). See CHREC_RUNTIME in defines.h.ContainerDisplayChannel.c:189public
void CloseContainerDisplayChannel(struct ContainerDisplayChannel *ch)(no comment)ContainerDisplayChannel.c:195public
int ContainerUIText(uint32_t s, int x, int y, uint32_t argb, const char *t)(no comment)ContainerUI.c:12public
int ContainerUITextWidth(const char *t)(no comment)ContainerUI.c:17public
int ContainerUITextHeight(void)(no comment)ContainerUI.c:23public
void ContainerUISetTextHook(int (*draw)(uint32_t, int, int, uint32_t, const char *), int (*width)(const char *), int lh)(no comment)ContainerUI.c:24public
static void ContainerUIRtOpen(struct Channel *ch)Runtime open/close slots (standard set). Join/Leave/Read/Write were already wired here; the channel's lifetime stays with its Open/Close functions, so these only fill the slots.ContainerUI.c:31static
static void ContainerUIRtClose(struct Channel *ch)(no comment)ContainerUI.c:32static
int ContainerUIBaseInit(struct Channel *b, uint32_t id, const char *name, uint64_t (*join)(void *), void *(*leave)(void *), uint64_t (*rd)(void *, void *, long), uint64_t (*wr)(void *, void *, long))(no comment)ContainerUI.c:34public
void ContainerUIBaseFree(struct Channel *b)(no comment)ContainerUI.c:54public
void ContainerUILock(struct Channel *b)(no comment)ContainerUI.c:60public
void ContainerUIUnlock(struct Channel *b)(no comment)ContainerUI.c:61public
uint64_t ContainerUIPeerJoin(struct ContainerUIPeers *p, void *peer)(no comment)ContainerUI.c:63public
void * ContainerUIPeerLeave(struct ContainerUIPeers *p, void *peer)(no comment)ContainerUI.c:73public
void ContainerUIQPush(struct ContainerUIQueue *q, uint32_t type, uint32_t target, int32_t a, int32_t b)(no comment)ContainerUI.c:82public
uint64_t ContainerUIQRead(struct ContainerUIQueue *q, uint8_t *out, long len)(no comment)ContainerUI.c:90public
static void PaintBevelToTarget(SDL_Renderer *ren, int w, int h, uint32_t bright, uint32_t mid, uint32_t dark, int pressed)(no comment)Titlebar.c:23static
int ContGadgetBakeLabelFaces(struct ContainerChannel *cc, struct ContGadget *ga)(no comment)Titlebar.c:50public
struct ContTitlebar * ContTitlebarCreate(struct ContainerChannel *cc, const char *title_str)(no comment)Titlebar.c:152public
void ContTitlebarDestroy(struct ContTitlebar *tb)(no comment)Titlebar.c:257public
int ContTitlebarAddGob(struct ContTitlebar *tb, struct ContGadget *ga)(no comment)Titlebar.c:280public
struct ContGadget * ContTitlebarAddButton(struct ContainerChannel *cc, struct ContTitlebar *tb, const char *name, const char *label, int32_t x, int32_t y, int32_t w, int32_t h, int32_t (*run)(struct ContainerChannel *, struct ContDispatch *, void *))(no comment)Titlebar.c:295public
static void TitlebarLockGeom(struct ContainerChannel *cc, struct ContTitlebar *tb)(no comment)Titlebar.c:322static
static void TitlebarUpdateClock(struct ContTitlebar *tb)(no comment)Titlebar.c:343static
void ContTitlebarSecondTick(struct ContainerChannel *cc, struct ContTitlebar *tb)(no comment)Titlebar.c:373public
static void TitlebarDrawStrings(SDL_Renderer *ren, struct ContTitlebar *tb, struct ContainerChannel *cc)(no comment)Titlebar.c:395static
static void TitlebarDrawConnectOnGem(SDL_Renderer *ren, struct ContTitlebar *tb)Draw E# : C#+ centered on ConnectGem, AFTER gem blit so text is not stomped. Uses a temporary smaller TTF face (~9pt) so the label fits in 49x11.Titlebar.c:493static
void ContTitlebarInvalidate(struct ContTitlebar *tb)(no comment)Titlebar.c:560public
int ContTitlebarHit(const struct ContTitlebar *tb, int32_t x, int32_t y)(no comment)Titlebar.c:566public
static int TitlebarComposeFace(struct ContainerChannel *cc, struct ContTitlebar *tb)Compose chrome+gem+strings into tex_face (HV titleImage/titleGraphics).Titlebar.c:575static
void ContTitlebarPaint(struct ContainerChannel *cc, struct ContTitlebar *tb)(no comment)Titlebar.c:706public
void ContTitlebarSetConnectGem(struct ContainerChannel *cc, struct ContTitlebar *tb, int gem_number)---------- ConnectGem / ContMenuPop (HV HyperMenu) ----------Titlebar.c:769public
void ContTitlebarSetConnectCounts(struct ContTitlebar *tb, int32_t ext_n, int32_t in_n, int32_t is_current)(no comment)Titlebar.c:783public
void ContTitlebarSetViewNumber(struct ContTitlebar *tb, int32_t view_number)(no comment)Titlebar.c:793public
void ContTitlebarSetLineStr(struct ContTitlebar *tb, const char *line)(no comment)Titlebar.c:800public
int ContTitlebarGemHit(const struct ContTitlebar *tb, int32_t x, int32_t y)(no comment)Titlebar.c:810public
void ClearPopMenuChannel(struct ContMenuPop *mp)(no comment)Titlebar.c:822public
int AddItemPopMenuChannel(struct ContMenuPop *mp, const char *label, int32_t (*run)(struct ContainerChannel *, struct ContDispatch *, void *), void *ctx)(no comment)Titlebar.c:831public
static void MenuLayout(struct ContMenuPop *mp)(no comment)Titlebar.c:850static
void ShowPopMenuChannel(struct ContainerChannel *cc, struct ContTitlebar *tb, int32_t anchor_x, int32_t anchor_y)(no comment)Titlebar.c:873public
void HidePopMenuChannel(struct ContainerChannel *cc, struct ContTitlebar *tb)(no comment)Titlebar.c:901public
void PaintPopMenuChannel(struct ContainerChannel *cc, struct ContTitlebar *tb)(no comment)Titlebar.c:912public
int ContTitlebarHandlePointer(struct ContainerChannel *cc, struct ContTitlebar *tb, int32_t x, int32_t y, int button_down, int button_up)(no comment)Titlebar.c:998public
void ContDrawText(struct SDL_Renderer *ren, int32_t x, int32_t y, const char *text, uint32_t rgb)(no comment)cont_hv_extras.c:36public
struct ContHvExtras * ContHvExtrasGet(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:49public
int ContHvExtrasAttach(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:55public
void ContRenderGemShape(struct SDL_Renderer *ren, int w, int h, int cut, uint8_t r, uint8_t g, uint8_t b, int is_glass)---------- Gem render (from channels4 Buttons.c RenderGemShape) ----------cont_hv_extras.c:68public
struct ContHyperScrollbar * ContHyperScrollbarCreate(struct ContainerChannel *cc, const char *name, int32_t x, int32_t y, int32_t len, int32_t min_v, int32_t max_v, int32_t flags, int32_t z)---------- HyperScrollbar ----------cont_hv_extras.c:184public
int ContHyperScrollbarSetValue(struct ContHyperScrollbar *sb, int32_t v)(no comment)cont_hv_extras.c:234public
void ContHyperScrollbarPaint(struct ContainerChannel *cc, struct ContHyperScrollbar *sb)(no comment)cont_hv_extras.c:257public
int ContHyperScrollbarHit(struct ContHyperScrollbar *sb, int32_t x, int32_t y, int button_down)(no comment)cont_hv_extras.c:318public
int ContMemoryWindowRefresh(struct ContainerChannel *cc, struct ContMemoryWindow *mw)---------- MemoryWindow ----------cont_hv_extras.c:367public
struct ContMemoryWindow * ContMemoryWindowOpen(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:413public
int ContMemoryWindowClose(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:448public
void ContMemoryWindowPaint(struct ContainerChannel *cc, struct ContMemoryWindow *mw)(no comment)cont_hv_extras.c:457public
struct ContServerConfig * ContServerConfigOpen(struct ContainerChannel *cc)---------- Server / Port config ----------cont_hv_extras.c:477public
int ContServerConfigSave(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:525public
int ContServerConfigClose(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:542public
void ContServerConfigPaint(struct ContainerChannel *cc, struct ContServerConfig *sc)(no comment)cont_hv_extras.c:551public
static int PupListDir(struct ContPupCatalog *pc, const char *dir)---------- Pups ----------cont_hv_extras.c:576static
struct ContPupCatalog * ContPupCatalogOpen(struct ContainerChannel *cc, const char *dir)(no comment)cont_hv_extras.c:615public
int ContPupCatalogClose(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:646public
int ContPupCatalogSelect(struct ContPupCatalog *pc, int32_t index)(no comment)cont_hv_extras.c:655public
void ContPupCatalogPaint(struct ContainerChannel *cc, struct ContPupCatalog *pc)(no comment)cont_hv_extras.c:663public
static SDL_Surface * Arrows299LoadSbar(void)(no comment)cont_hv_extras.c:703static
static void Arrows299Text(void *font, uint32_t *face, int fw, int fh, int x, int y, const char *t, uint32_t rgb)(no comment)cont_hv_extras.c:725static
static struct ContGadget * Arrows299Create(struct ContainerChannel *cc, const char *gname, const char *name, int32_t x, int32_t y, int32_t z)(no comment)cont_hv_extras.c:754static
struct ContGadget * ContArrowsCreate(struct ContainerChannel *cc, int32_t x, int32_t y, int32_t z)(no comment)cont_hv_extras.c:821public
int ContArrowsHitDir(struct ContGadget *ga, int32_t x, int32_t y)(no comment)cont_hv_extras.c:847public
void ContFilePopInitHvColors(struct ContFilePop *fp)---------- FilePop HV colors / nav ----------cont_hv_extras.c:864public
int ContFilePopGoParent(struct ContFilePop *fp)(no comment)cont_hv_extras.c:898public
int ContFilePopNavigate(struct ContFilePop *fp, const char *entry_name)(no comment)cont_hv_extras.c:922public
void ContHvExtrasShutdown(struct ContainerChannel *cc)(no comment)cont_hv_extras.c:942public
static struct ContGobMoveHist * MoveHistFor(uint64_t id, int create)(no comment)cont_wave.c:58static
int ContDisplayStackPush(struct ContainerChannel *cc, struct ContDispatch *d)(no comment)cont_wave.c:77public
int ContDisplayStackPop(struct ContainerChannel *cc)(no comment)cont_wave.c:86public
struct ContDispatch * ContDisplayStackTop(struct ContainerChannel *cc)(no comment)cont_wave.c:95public
int ContDisplayStackRunTop(struct ContainerChannel *cc)(no comment)cont_wave.c:102public
static struct ContainerNode * ContFindScreenRoot(struct ContainerChannel *cc)(no comment)cont_wave.c:114static
static void ContDestroyTex(struct ContainerChannel *cc, SDL_Texture **tp)(no comment)cont_wave.c:126static
static void ContFreeMemberList(struct ContainerChannel *cc, struct ContainerMember *mems, uint32_t count)(no comment)cont_wave.c:140static
void ContShutdownDisplay(struct ContainerChannel *cc)(no comment)cont_wave.c:198public
int32_t ContDispatchRun(struct ContainerChannel *cc, struct ContDispatch *d)ContDispatchRun -- HV Dispatch.run() body (nested work). Distinct name so Cont does not collide with a bare C run() symbol across TUs.cont_wave.c:283public
int ContDispatchBegin(struct ContainerChannel *cc, struct ContDispatch *d)(no comment)cont_wave.c:289public
int ContRunNested(struct ContainerChannel *cc)(no comment)cont_wave.c:423public
void ContRunNestedExit(struct ContainerChannel *cc)(no comment)cont_wave.c:461public
void ContAbort(struct ContainerChannel *cc)(no comment)cont_wave.c:470public
int32_t ContAbortDispatch(struct ContainerChannel *cc, struct ContDispatch *d, void *ctx)(no comment)cont_wave.c:489public
struct ContDispatch * ContAbortCreate(struct ContainerChannel *cc)(no comment)cont_wave.c:497public
struct ContGadget * ContAddAbortRight(struct ContainerChannel *cc, struct ContGob *host)(no comment)cont_wave.c:504public
void ContGobMoveHistPush(struct ContGob *g)(no comment)cont_wave.c:530public
static void ContSnapFrect(SDL_Renderer *ren, SDL_FRect *r)addition 2026-10-17 (Tony: "The X2 is off"): snap a logical rect to whole device pixels under the current render scale: x1 = round(x*s), width = round(w*s) (the width ContGadgetBake* bakes the face at), so x2 = x1 + round(w*s)cont_wave.c:555static
static void BlitBackdropClip(struct ContainerChannel *cc, int32_t x1, int32_t y1, int32_t x2, int32_t y2)(no comment)cont_wave.c:564static
int ContRestoreBgReverse(struct ContainerChannel *cc, struct ContGob **list, int n)HyperView: "Restore / redraw backwards." for(hvZ=totalGobs-1; hvZ>-1; hvZ--)cont_wave.c:589public
static struct ContGob * ContMemberGob(struct ContainerMember *m)Neighbor-only Z bubble (Tony + solar): s=1/max(z,1) => low z = near/large, high z = far/small. Paint far first: descending Z in member list (high indexcont_wave.c:632static
static int ContMemberIsZSortable(uint32_t kind)(no comment)cont_wave.c:645static
void ContGobBubbleZ(struct ContainerChannel *cc, struct ContGob *gob)(no comment)cont_wave.c:651public
int ContCollectGobsZ(struct ContainerChannel *cc, struct ContGob **list, int maxn)(no comment)cont_wave.c:706public
void ContDirtyClear(struct ContainerChannel *cc)(no comment)cont_wave.c:772public
void ContDirtySetFullBlit(struct ContainerChannel *cc, int on)(no comment)cont_wave.c:778public
int ContDirtyCount(struct ContainerChannel *cc)(no comment)cont_wave.c:785public
void ContDirtyAddRect(struct ContainerChannel *cc, int32_t x, int32_t y, int32_t w, int32_t h)(no comment)cont_wave.c:791public
static uint32_t PixelDarkenInvert(uint32_t argb)Select face = darkened + inverted copy of normal (Tony).cont_wave.c:809static
static SDL_Texture * MakeSelectFromTexture(SDL_Renderer *ren, SDL_Texture *src)(no comment)cont_wave.c:821static
static void ArgbMakeSelect(uint32_t *dst, const uint32_t *src, int n)(no comment)cont_wave.c:855static
void ContGadgetEnsureSelectFace(struct ContainerChannel *cc, struct ContGadget *ga)Ensure tex_select / argb_select exist: darkened inverted normal.cont_wave.c:864public
static int DrawTextAlpha(SDL_Renderer *ren, int32_t x, int32_t y, const char *text, uint32_t rgb, uint8_t alpha)---------- alpha text (SDL_SetTextureAlphaMod) ----------cont_wave.c:885static
static uint8_t ViewstringAlpha(const struct ContViewString *vs)(no comment)cont_wave.c:931static
static int ViewstringDone(const struct ContViewString *vs)(no comment)cont_wave.c:950static
float ContGobDisplayScale(const struct ContGob *g)(no comment)cont_wave.c:967public
void ContGobApplyZScale(struct ContGob *g, int32_t base_w, int32_t base_h)HV: width/height = widthBase*wSin/z+1 -- update ContGob wh for restore/paint.cont_wave.c:989public
static void PaintBevel(SDL_Renderer *ren, SDL_FRect *fr, uint32_t bright, uint32_t mid, uint32_t dark, int pressed)(no comment)cont_wave.c:1008static
void ContGobAbsXY(const struct ContGob *g, int32_t *ax, int32_t *ay)(no comment)cont_wave.c:1034public
void ContGadgetAbsXY(const struct ContGadget *ga, int32_t *ax, int32_t *ay)(no comment)cont_wave.c:1056public
int ContGobAddGob(struct ContGob *parent, struct ContGadget *child)(no comment)cont_wave.c:1072public
struct ContGob * ContGobOngobParent(const struct ContGob *child)(no comment)cont_wave.c:1119public
static int ContOngobSet(struct ContGob *parent, struct ContGob *child, int x, int y)(no comment)cont_wave.c:1130static
int ContGobAddOngob(struct ContGob *parent, struct ContGob *child, int x, int y)(no comment)cont_wave.c:1161public
int AddGob(struct ContGob *parent, struct ContGob *child, int x, int y)(no comment)cont_wave.c:1166public
static void ContGobBaseWh(const struct ContGob *g, int32_t *bw, int32_t *bh)(no comment)cont_wave.c:1172static
static int ContOrbitFindChild(const struct ContGob *child)(no comment)cont_wave.c:1184static
static void ContGobFloatCenter(const struct ContGob *g, double *cx, double *cy)Absolute float center of gob: orbit float if orbiting, else int abs + base/2.cont_wave.c:1196static
int ContAddOrbitGob(struct ContGob *parent, struct ContGob *child, int radius, int speed, double ra, double dc)(no comment)cont_wave.c:1213public
int AddOrbitGob(struct ContGob *parent, struct ContGob *child, int radius, int speed, double ra, double dc)(no comment)cont_wave.c:1263public
void ContOrbitTick(struct ContainerChannel *cc, double dt_ms)(no comment)cont_wave.c:1269public
void ContGadgetPaint(struct ContainerChannel *cc, struct ContGadget *ga)(no comment)cont_wave.c:1334public
void ContAnimGobPaint(struct ContainerChannel *cc, struct ContAnimGob *ag)(no comment)cont_wave.c:1387public
struct ContDispatch * ContainerDispatchCreate(struct ContainerChannel *cc, const char *name, int32_t (*run)(struct ContainerChannel *, struct ContDispatch *, void *), void *ctx)---- Dispatch / faces / spline / collision / overlay / pointer ----cont_wave.c:1459public
struct ContDispatch * ContainerDispatchCreateEx(struct ContainerChannel *cc, const char *name, int32_t (*run)(struct ContainerChannel *, struct ContDispatch *, void *), void *ctx, uint32_t flags)(no comment)cont_wave.c:1479public
void ContainerDispatchSetInit(struct ContDispatch *d, int32_t (*init)(struct ContainerChannel *, struct ContDispatch *, void *))(no comment)cont_wave.c:1491public
int ContainerGadgetSetContDispatch(struct ContGadget *ga, struct ContDispatch *d)(no comment)cont_wave.c:1499public
int ContainerGadgetSetFaceImage(struct ContGadget *ga, const char *normal_file, const char *select_file)(no comment)cont_wave.c:1506public
int ContGadgetLoadFaces(struct ContainerChannel *cc, struct ContGadget *ga, const char *select_file)(no comment)cont_wave.c:1522public
int ContainerGadgetSetFaceARGB(struct ContGadget *ga, uint32_t *normal, uint32_t *select, int32_t w, int32_t h)(no comment)cont_wave.c:1551public
static int ContOctant(int32_t x0, int32_t y0, int32_t x1, int32_t y1)HV Octant.getOctant -- sign-only 8-way heading between two points.cont_wave.c:1565static
static void ContSplineSetSegment(struct ContSpline *sp, int32_t from, int32_t to)(no comment)cont_wave.c:1580static
struct ContSpline * ContainerSplineCreate(struct ContainerChannel *cc, const char *name, const int32_t *xs, const int32_t *ys, const int32_t *zs, int32_t npoints, int32_t velocity, uint32_t flags)(no comment)cont_wave.c:1615public
int ContainerGobAttachSpline(struct ContGob *gob, struct ContSpline *sp)(no comment)cont_wave.c:1652public
int ContainerSplineAdvance(struct ContSpline *sp, struct ContGob *gob)(no comment)cont_wave.c:1670public
void ContAdvanceAllSplines(struct ContainerChannel *cc)(no comment)cont_wave.c:1790public
static void PaintSplinePath(struct ContainerChannel *cc, struct ContSpline *sp)(no comment)cont_wave.c:1815static
int ContainerCollisionTick(struct ContainerChannel *cc)(no comment)cont_wave.c:1832public
static int EnsureOverlay(struct ContainerChannel *cc)(no comment)cont_wave.c:1871static
int ContainerOverlayAddText(struct ContainerChannel *cc, const char *text, int32_t x, int32_t y, uint32_t rgb, uint32_t flags, int32_t fade_in_ms, int32_t linger_ms, int32_t fade_out_ms)(no comment)cont_wave.c:1891public
int ContainerOverlayAddLine(struct ContainerChannel *cc, int32_t x1, int32_t y1, int32_t x2, int32_t y2, uint32_t rgb)(no comment)cont_wave.c:1914public
int ContainerOverlayClear(struct ContainerChannel *cc)(no comment)cont_wave.c:1927public
void ContOverlayAge(struct ContainerChannel *cc, int32_t dt_ms)(no comment)cont_wave.c:1935public
void ContainerPaintOverlays(struct ContainerChannel *cc)(no comment)cont_wave.c:1950public
int ContGrabActive(void)(no comment)cont_wave.c:1997public
void ContGrabPollMove(struct ContainerChannel *cc, int32_t x, int32_t y)HyperView MOUSE_DRAGGED + GADGET_GRABBED: move face every poll; restore old clip.cont_wave.c:2003public
int ContainerHandlePointer(struct ContainerChannel *cc, int32_t x, int32_t y, int button_down, int button_up)(no comment)cont_wave.c:2068public
int ContainerSetBackdrop(struct ContainerChannel *cc, const char *image_file)(no comment)cont_wave.c:2391public
void ContBasicPaneInit(struct ContBasicPane *bp, int32_t x, int32_t y, int32_t w, int32_t h, int32_t z)---------- ContBasicPane (HV BasicPane chrome) ----------cont_wave.c:2415public
void ContBasicPanePaintChrome(struct ContainerChannel *cc, struct ContBasicPane *bp)(no comment)cont_wave.c:2457public
int ContainerTextPaneSetTop(struct ContTextPane *tp, int32_t top_line)---------- ContTextPane / ContPrefsPane paint ----------cont_wave.c:2502public
void ContTextPanePaint(struct ContainerChannel *cc, struct ContTextPane *tp)(no comment)cont_wave.c:2513public
void ContPrefsPanePaint(struct ContainerChannel *cc, struct ContPrefsPane *pp)(no comment)cont_wave.c:2556public
struct ContGadget * CreateImageGadget(struct ContainerChannel *cc, const char *name, const char *image_file, int32_t x, int32_t y, int32_t w, int32_t h, int32_t z)---------- ViewMain helpers (ImageGadget / TextPane / Prefs) ----------cont_wave.c:2622public
struct ContTextPane * ContainerTextPaneCreate(struct ContainerChannel *cc, const char *name, int32_t x, int32_t y, int32_t w, int32_t h, int32_t rows, int32_t cols, int32_t z)(no comment)cont_wave.c:2638public
int ContainerTextPaneAppend(struct ContTextPane *tp, const char *line)(no comment)cont_wave.c:2678public
int ContainerTextPaneClear(struct ContTextPane *tp)(no comment)cont_wave.c:2696public
int ContainerTextPaneLoadFile(struct ContTextPane *tp, const char *path)(no comment)cont_wave.c:2705public
struct ContPrefsPane * ContainerPrefsOpen(struct ContainerChannel *cc)(no comment)cont_wave.c:2729public
int ContainerPrefsClose(struct ContainerChannel *cc)(no comment)cont_wave.c:2771public
int ContainerPrefsLoad(struct ContainerChannel *cc)(no comment)cont_wave.c:2778public
int ContainerPrefsSave(struct ContainerChannel *cc)(no comment)cont_wave.c:2799public
int ContainerPrefsRestore(struct ContainerChannel *cc)(no comment)cont_wave.c:2860public
int ContainerSuperBitmapSetSrc(struct ContSuperBitmap *sb, int32_t src_x, int32_t src_y)---------- ContSuperBitmap / ContFilePop ----------cont_wave.c:2873public
int ContainerSuperBitmapMarkDirty(struct ContSuperBitmap *sb)(no comment)cont_wave.c:2890public
static void SuperbitmapFillDemo(struct ContSuperBitmap *sb)(no comment)cont_wave.c:2897static
static int SuperbitmapEnsureTexture(struct ContainerChannel *cc, struct ContSuperBitmap *sb)(no comment)cont_wave.c:2944static
int ContSuperBitmapDragActive(void)(no comment)cont_wave.c:2967public
void ContSuperBitmapPollDrag(struct ContainerChannel *cc, int32_t x, int32_t y)(no comment)cont_wave.c:2972public
void ContSuperBitmapPollMove(struct ContainerChannel *cc, int32_t x, int32_t y)(no comment)cont_wave.c:2989public
int ContSuperBitmapMoveActive(void)(no comment)cont_wave.c:3005public
int ContSuperBitmapArrowScroll(struct ContainerChannel *cc, int key)(no comment)cont_wave.c:3010public
void ContSuperBitmapPaint(struct ContainerChannel *cc, struct ContSuperBitmap *sb)(no comment)cont_wave.c:3027public
struct ContSuperBitmap * ContainerSuperBitmapCreate(struct ContainerChannel *cc, const char *name, int32_t x, int32_t y, int32_t view_w, int32_t view_h, int32_t src_w, int32_t src_h, int32_t z)(no comment)cont_wave.c:3069public
static int FilepopListDir(struct ContFilePop *fp, const char *dir)(no comment)cont_wave.c:3125static
void ContFilePopPaint(struct ContainerChannel *cc, struct ContFilePop *fp)(no comment)cont_wave.c:3204public
int SelectFilePop(struct ContFilePop *fp, int32_t index)(no comment)cont_wave.c:3321public
int PickFilePop(struct ContainerChannel *cc)(no comment)cont_wave.c:3339public
struct ContFilePop * OpenFilePop(struct ContainerChannel *cc, const char *dir)(no comment)cont_wave.c:3354public
int CloseFilePop(struct ContainerChannel *cc)(no comment)cont_wave.c:3404public
int ContainerSetFont(struct ContainerChannel *cc, const char *path, int ptsize)(no comment)cont_wave.c:3413public
int ContSetBackImage(struct ContainerChannel *cc, const char *name)---- HyperView.java API aliases (parity wrappers) ----cont_wave.c:3444public
void ContBackGroundENA(struct ContainerChannel *cc)(no comment)cont_wave.c:3448public
void ContDisableBackground(struct ContainerChannel *cc)(no comment)cont_wave.c:3453public
void ContCls(struct ContainerChannel *cc)(no comment)cont_wave.c:3458public
void ContStatusText(struct ContainerChannel *cc, const char *s)(no comment)cont_wave.c:3462public
void ContSetTitle(struct ContainerChannel *cc, const char *title)(no comment)cont_wave.c:3468public
void ContSetWaitTime(struct ContainerChannel *cc, int32_t ms)(no comment)cont_wave.c:3473public
int ContHalt(struct ContainerChannel *cc)(no comment)cont_wave.c:3478public
static void UISetColor(SDL_Renderer *ren, uint32_t rgb)(no comment)ui/ui_controls.c:14static
static void UIBevel(SDL_Renderer *ren, float x, float y, float w, float h, uint32_t face, uint32_t top, uint32_t bot)(no comment)ui/ui_controls.c:20static
void UiDrawButtonLabel(struct SDL_Renderer *ren, int32_t x, int32_t y, int32_t w, int32_t h, const char *label, uint32_t rgb)Tony's button label rule: centered both ways, black at (+1,+1) first, then the text color.ui/ui_controls.c:36public
int UiButtonBakeFaces(struct ContainerChannel *cc, struct ContGadget *ga, uint32_t text_rgb)(no comment)ui/ui_controls.c:51public
struct UiButton * UiButtonCreate(struct ContainerChannel *cc, uint32_t input_type, const char *name, const char *label, int32_t x, int32_t y, int32_t w, int32_t h, int32_t z)button, submit, reset, imageui/ui_controls.c:76public
void UiButtonPaint(struct ContainerChannel *cc, struct UiButton *b)(no comment)ui/ui_controls.c:101public
struct UiCheckbox * UiCheckboxCreate(struct ContainerChannel *cc, const char *name, const char *label, int32_t x, int32_t y, int32_t z, int32_t checked)(no comment)ui/ui_controls.c:112public
void UiCheckboxSet(struct UiCheckbox *c, int32_t on)(no comment)ui/ui_controls.c:131public
void UiCheckboxToggle(struct UiCheckbox *c)(no comment)ui/ui_controls.c:139public
void UiCheckboxPaint(struct ContainerChannel *cc, struct UiCheckbox *c)(no comment)ui/ui_controls.c:144public
struct UiRadio * UiRadioCreate(struct ContainerChannel *cc, const char *name, const char *label, int32_t x, int32_t y, int32_t z, uint32_t group, int32_t checked)(no comment)ui/ui_controls.c:160public
void UiRadioSelect(struct UiRadio *r)Select one radio; every other radio in the same group is cleared.ui/ui_controls.c:182public
struct UiRadio * UiRadioGroupSelected(uint32_t group)(no comment)ui/ui_controls.c:197public
void UiRadioPaint(struct ContainerChannel *cc, struct UiRadio *r)(no comment)ui/ui_controls.c:206public
struct UiHidden * UiHiddenCreate(struct ContainerChannel *cc, const char *name, const char *value)hidden: a Gob with a value, never a gadget, never on displayui/ui_controls.c:224public
struct UiSelect * UiSelectCreate(struct ContainerChannel *cc, const char *name, int32_t x, int32_t y, int32_t w, int32_t z, const char *const *options, int32_t count)(no comment)ui/ui_controls.c:238public
int UiSelectChoose(struct UiSelect *s, int32_t index)(no comment)ui/ui_controls.c:262public
int UiSelectHandleKey(struct UiSelect *s, int keycode)(no comment)ui/ui_controls.c:271public
void UiSelectPaint(struct ContainerChannel *cc, struct UiSelect *s)(no comment)ui/ui_controls.c:280public
static int UIAdoptGetstring(struct ContainerChannel *cc, struct ContGetString *dst, const char *name, const char *caption, const char *initial, int32_t x, int32_t y, int32_t max_chars, int32_t flags, int32_t z)Build a GetString with Tony's ContGetStringCreate, then adopt it into a larger GetString-first struct (dst). The focus pointer follows the adopted copy.ui/ui_controls.c:304static
struct UiTextArea * UiTextAreaCreate(struct ContainerChannel *cc, const char *name, const char *initial, int32_t x, int32_t y, int32_t cols, int32_t rows, int32_t z)textarea: a multi-line GetString (GETSTRING_MULTILINE). gs.text holds the first CGS_MAX_CHARS-1 chars; the full text lives in t->text.ui/ui_controls.c:321public
int UiTextAreaHandleKey(struct UiTextArea *t, int keycode, int text_char)(no comment)ui/ui_controls.c:343public
void UiTextAreaPaint(struct ContainerChannel *cc, struct UiTextArea *t)(no comment)ui/ui_controls.c:371public
struct UiTypedField * UiTypedFieldCreate(struct ContainerChannel *cc, uint32_t input_type, const char *name, const char *caption, const char *initial, int32_t x, int32_t y, int32_t max_chars, int32_t z)color, date, file, range: simple single-line GetString Gobs for now. Planned (color): swatch + picker. Planned (date): calendar popup. Planned (file): file dialog (ContFilePop).ui/ui_controls.c:394public
int32_t UiTypedFieldRangeValue(const struct UiTypedField *f)(no comment)ui/ui_controls.c:417public
void UiTypedFieldPaint(struct ContainerChannel *cc, struct UiTypedField *f)(no comment)ui/ui_controls.c:428public
int UiControlHit(const struct ContGob *g, int32_t x, int32_t y)(no comment)ui/ui_controls.c:438public
int32_t UiGetStringFlagsForType(uint32_t input_type)GetString flags for each text-like type; -1 when the type is not text-like.ui/ui_controls.c:444public
static void GemBakeFaces(struct ContainerChannel *cc, struct ContGadget *ga, int cut, uint8_t rr, uint8_t gg, uint8_t bb)(no comment)ui/ui_gembutton.c:8static
struct ContGadget * ContGemButtonCreate(struct ContainerChannel *cc, const char *name, const char *label, int32_t x, int32_t y, int32_t w, int32_t h, int32_t z, int gem_cut)(no comment)ui/ui_gembutton.c:53public
int ContGemButtonsShowcase(struct ContainerChannel *cc, int32_t x, int32_t y)(no comment)ui/ui_gembutton.c:82public
struct ContGetString * ContGetStringCreate(struct ContainerChannel *cc, const char *name, const char *caption, const char *initial, int32_t x, int32_t y, int32_t max_chars, int32_t flags, int32_t z)---------- GetString ----------ui/ui_getstring.c:9public
void ContGetStringPaint(struct ContainerChannel *cc, struct ContGetString *gs)(no comment)ui/ui_getstring.c:61public
int ContGetStringHandleKey(struct ContainerChannel *cc, struct ContGetString *gs, int keycode, int text_char)(no comment)ui/ui_getstring.c:122public
const char * ContGetStringText(struct ContGetString *gs)(no comment)ui/ui_getstring.c:164public

Core 7 in the full manual

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

Hits--