Channel circle › core 7 Container › menubar
menubar (core 7, sub 8, flat id 120)
34 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| static int CmBarH(void) | bar / item heights grow with the installed text renderer (FontChannel hook) | ContainerMenuChannel.c:10 | static |
| static int CmItemH(void) | (no comment) | ContainerMenuChannel.c:11 | static |
| struct ContainerMenuChannel * GetMenuChannel(void) | (no comment) | ContainerMenuChannel.c:14 | public |
| static struct ContainerMenuChannel * OpenMenuBarChannelBody(struct Channel *owner) | (no comment) | ContainerMenuChannel.c:16 | static |
| static void CloseMenuBarChannelBody(struct ContainerMenuChannel *m) | (no comment) | ContainerMenuChannel.c:34 | static |
| uint64_t JoinMenuChannel(void *peer) | (no comment) | ContainerMenuChannel.c:44 | public |
| void * LeaveMenuChannel(void *peer) | (no comment) | ContainerMenuChannel.c:45 | public |
| uint64_t ReadMenuChannel(void *ch, void *buf, long len) | (no comment) | ContainerMenuChannel.c:47 | public |
| static int CmApply(const uint8_t *p) | (no comment) | ContainerMenuChannel.c:58 | static |
| uint64_t WriteMenuChannel(void *ch, void *buf, long len) | (no comment) | ContainerMenuChannel.c:117 | public |
| static int CmWrite1(uint8_t op, uint8_t fl, uint8_t menu, uint8_t item, uint32_t cmd, uint32_t key, uint16_t mods, const char *label) | (no comment) | ContainerMenuChannel.c:131 | static |
| int AddMenuChannel(uint8_t id, uint8_t parent, const char *label) | (no comment) | ContainerMenuChannel.c:141 | public |
| int AddItemMenuChannel(uint8_t menu, uint32_t command, uint32_t key, uint16_t mods, const char *label) | (no comment) | ContainerMenuChannel.c:142 | public |
| int SeparatorMenuChannel(uint8_t menu) | (no comment) | ContainerMenuChannel.c:143 | public |
| int EnableMenuChannel(uint8_t menu, uint8_t item, int on) | (no comment) | ContainerMenuChannel.c:144 | public |
| int CheckMenuChannel(uint8_t menu, uint8_t item, int on) | (no comment) | ContainerMenuChannel.c:145 | public |
| void AttachMenuChannel(uint32_t surface) | (no comment) | ContainerMenuChannel.c:147 | public |
| int IsOpenMenuChannel(void) | (no comment) | ContainerMenuChannel.c:148 | public |
| int FormatShortcutMenuChannel(uint32_t key, uint16_t mods, char *out, int cap) | (no comment) | ContainerMenuChannel.c:150 | public |
| static int CmTopX(uint32_t idx) | ------------------------------------------------------------- geometry | ContainerMenuChannel.c:168 | static |
| static int CmTopW(uint32_t idx) | (no comment) | ContainerMenuChannel.c:175 | static |
| static int CmMenuW(const struct ContainerMenu *m) | (no comment) | ContainerMenuChannel.c:177 | static |
| static int CmHitTop(int32_t x, int32_t y) | (no comment) | ContainerMenuChannel.c:191 | static |
| static int CmHitItem(uint32_t lvl, int32_t x, int32_t y) | (no comment) | ContainerMenuChannel.c:202 | static |
| static void CmOpenTop(uint32_t idx) | (no comment) | ContainerMenuChannel.c:211 | static |
| static void CmOpenSub(uint32_t lvl, int item) | (no comment) | ContainerMenuChannel.c:220 | static |
| static int CmTopIndexOfOpen(void) | (no comment) | ContainerMenuChannel.c:231 | static |
| static int CmActivate(uint32_t lvl, int item, uint32_t *cmd) | activate item; returns 1 + fills *cmd when a command fired | ContainerMenuChannel.c:239 | static |
| static uint32_t CmLower(uint32_t k) | (no comment) | ContainerMenuChannel.c:251 | static |
| int InputMenuChannel(const uint8_t *ev, uint32_t *cmd, uint32_t *shortcut) | (no comment) | ContainerMenuChannel.c:253 | public |
| void DrawMenuChannel(uint32_t s) | (no comment) | ContainerMenuChannel.c:338 | public |
| int HeightMenuBarChannel(void) | (no comment) | ContainerMenuChannel.c:378 | public |
| struct ContainerMenuChannel * OpenMenuBarChannel(struct Channel *owner) | 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. | ContainerMenuChannel.c:383 | public |
| void CloseMenuBarChannel(struct ContainerMenuChannel *m) | (no comment) | ContainerMenuChannel.c:389 | public |