Repository navigation
Agent KB_headers_p6
grisun0 edited this page Oct 23, 2026
·
10 revisions
Previous: KB_headers_p5.md
- Doc: Docstring: Graphics-window view contract for the MiniOS desktop.
- Layer: utility
- Language: h
- Symbols:
-
wm_gfxview_config_t(struct, line 31) -
wm_gfxview_rect_t(struct, line 47) -
wm_gfxview_t(struct, line 56) -
wm_gfxview_mode_name(function, line 64)static inline const char *wm_gfxview_mode_name(int mode) -
wm_gfxview_dims_ok(function, line 79)static inline int wm_gfxview_dims_ok(int w, int h) -
Downscale(function, line 88) `* Downscale (fit below 1x) always takes the exact fit. Returns 1 on
-
- success, 0 on degenerate i...`
-
wm_gfxview_clamp(function, line 134)static inline void wm_gfxview_clamp(wm_gfxview_rect_t *r, int fb_w, int fb_h) -
wm_gfxview_place_content(function, line 160)static inline int wm_gfxview_place_content(const wm_gfxview_config_t *cfg, int sw, int sh, ... -
wm_gfxview_map_point(function, line 255)static inline int wm_gfxview_map_point(const wm_gfxview_t *v, int sw, int sh, ... -
wm_gfxview_ease(function, line 291)static inline long wm_gfxview_ease(int t, int n, long den) -
wm_gfxview_lerp_rect(function, line 313)static inline int wm_gfxview_lerp_rect(const wm_gfxview_rect_t *a, const wm_gfxview_rect_t *b, ... -
wm_gfxview_rect_same(function, line 336)static inline int wm_gfxview_rect_same(const wm_gfxview_rect_t *a, const wm_gfxview_rect_t *b) -
WM_GFXVIEW_H(macro, line 21)#define WM_GFXVIEW_H -
WM_GFXVIEW_CONFIG_DEFAULT(macro, line 41)#define WM_GFXVIEW_CONFIG_DEFAULT -
WM_GFXVIEW_DIM_MAX(macro, line 44)#define WM_GFXVIEW_DIM_MAX - Imported by:
kernel/vga_fb.c,tests/test_wm.c
- Doc: Docstring: Unified layout contract for the MiniOS desktop.
- Layer: presentation
- Language: h
- Symbols:
-
wm_layout_window_t(struct, line 27) -
wm_layout_config_t(struct, line 36) -
wm_layout_cell_t(struct, line 48) -
wm_layout_mode_name(function, line 57)static inline const char *wm_layout_mode_name(int mode) -
wm_layout_mode_valid(function, line 76)static inline int wm_layout_mode_valid(int mode) -
wm_layout_clamp_cell(function, line 82)static inline int wm_layout_clamp_cell(wm_layout_cell_t *cell, int max_cols, int max_rows) -
wm_layout_fullscreen_cell(function, line 118)static inline int wm_layout_fullscreen_cell(int max_cols, int max_rows, wm_layout_cell_t *out) -
wm_layout_compute_tile(function, line 135)static inline int wm_layout_compute_tile(const wm_layout_window_t *wins, int nwin, int max_cols, ... -
wm_layout_compute_bsp(function, line 182)static inline int wm_layout_compute_bsp(const wm_layout_window_t *wins, int nwin, int max_cols, i... -
wm_layout_compute_cascade(function, line 250)static inline int wm_layout_compute_cascade(const wm_layout_config_t *cfg, const wm_layout_window... -
wm_layout_compute_fibonacci(function, line 285)static inline int wm_layout_compute_fibonacci(const wm_layout_config_t *cfg, const wm_layout_wind... -
wm_layout_compute(function, line 361)static inline int wm_layout_compute(const wm_layout_config_t *cfg, const wm_layout_window_t *wins... -
wm_layout_same(function, line 443)static inline int wm_layout_same(const wm_layout_cell_t *a, const wm_layout_cell_t *b, int n) -
WM_LAYOUT_H(macro, line 12)#define WM_LAYOUT_H -
WM_LAYOUT_MODE_COUNT(macro, line 24)#define WM_LAYOUT_MODE_COUNT -
WM_LAYOUT_CONFIG_DEFAULT(macro, line 45)#define WM_LAYOUT_CONFIG_DEFAULT
-
- Imported by:
kernel/shell.c,kernel/vga_fb.c,tests/test_wm.c
- Doc: Docstring: Focus event bus for the MiniOS desktop.
- Layer: utility
- Language: h
- Symbols:
-
wm_notify_event_t(struct, line 30) -
wm_notify_bus_t(struct, line 43) -
wm_notify_reset(function, line 51)static inline void wm_notify_reset(wm_notify_bus_t *bus) -
wm_notify_subscribe(function, line 66)static inline int wm_notify_subscribe(wm_notify_bus_t *bus, ... -
wm_notify_emit(function, line 76)static inline void wm_notify_emit(wm_notify_bus_t *bus, const w... -
wm_notify_last(function, line 90)static inline const wm_notify_event_t *wm_notify_last( const wm_notify_bus_t *bus) -
wm_notify_src_name(function, line 98)static inline const char *wm_notify_src_name(int source) -
WM_NOTIFY_H(macro, line 2)#define WM_NOTIFY_H -
WM_NOTIFY_MAX_HANDLERS(macro, line 41)#define WM_NOTIFY_MAX_HANDLERS
-
- Imported by:
headers/vga_fb.h,kernel/shell.c,kernel/vga_fb.c,tests/test_notify.c
- Doc: Docstring: Render pipeline contract for the MiniOS desktop.
- Layer: presentation
- Language: h
- Symbols:
-
wm_render_item_t(struct, line 25) -
wm_render_config_t(struct, line 31) -
wm_build_render_plan(function, line 39)static inline int wm_build_render_plan(const wm_render_config_t *cfg, const int *present, int nte... -
WM_RENDER_H(macro, line 11)#define WM_RENDER_H -
WM_RENDER_CONFIG_DEFAULT(macro, line 36)#define WM_RENDER_CONFIG_DEFAULT
-
- Depends on:
headers/wm_window.h - Imported by:
kernel/vga_fb.c,tests/test_wm.c
- Doc: Docstring: Tiling layout contract for the MiniOS desktop.
- Layer: utility
- Language: h
- Symbols:
-
wm_tile_cell_t(struct, line 13) -
wm_tile_layout(function, line 22)static inline int wm_tile_layout(const int *present, int nterms, int gfx_active, int max_cols, in... -
WM_TILING_H(macro, line 10)#define WM_TILING_H
-
- Imported by:
kernel/vga_fb.c,tests/test_wm.c
- Doc: Docstring: Unified window contract for the MiniOS desktop.
- Layer: utility
- Language: h
- Symbols:
-
wm_window_t(struct, line 29) -
wm_window_active(function, line 41)static inline int wm_window_active(const wm_window_t *w) -
wm_window_rect(function, line 47)static inline wm_rect_t wm_window_rect(const wm_window_t *w) -
wm_window_contains(function, line 58)static inline int wm_window_contains(const wm_window_t *w, int px, int py) -
wm_window_title_hits(function, line 68)static inline int wm_window_title_hits(const wm_geom_config_t *cfg, const wm_window_t *w, int px,... -
wm_focus_next_id(function, line 77)static inline int wm_focus_next_id(const int *present, int nterms, int gfx_active, int focus) -
wm_paint_order(function, line 114)static inline int wm_paint_order(const int *present, int nterms, int focus, int *order, int cap) -
WM_WINDOW_H(macro, line 11)#define WM_WINDOW_H -
WM_WINDOW_GFX_ID(macro, line 23)#define WM_WINDOW_GFX_ID -
WM_WINDOW_MAX_TERMS(macro, line 26)#define WM_WINDOW_MAX_TERMS
-
- Depends on:
headers/wm_geom.h - Imported by:
headers/wm_focus.h,headers/wm_render.h,kernel/vga_fb.c,tests/test_wm.c
- Doc: — MiniOS integration API for the miniz zip library.
- Layer: utility
- Language: h
- Symbols:
-
miniz(function, line 6)* * The shell builtins over miniz (see zip.c) are declared here so kernel.c's * shell dispatcher can route the... -
shell_cmd_zip(function, line 15)void shell_cmd_zip(int argc, char **argv); -
ZIP_H(macro, line 2)#define ZIP_H
-
- Imported by:
kernel/shell.c,kernel/syscalls.c
Generated offline by readmenator from commit cd87980b5eb5. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_headers_kernel
- community_10_orphans
- community_1_progs_doomgeneric_d_englsh
- community_2_progs_src
- community_3_progs_doomgeneric_p_spec
- community_4_tools_tls_crypto
- community_5_headers_vga_fb
- community_6_progs_doomgeneric_net_defs
- community_7_headers_batch
- community_8_headers_tick
- community_9_tools_doom_pwad
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- KB_asm
- KB_boot
- KB_doomgeneric
- KB_doomgeneric_p10
- KB_doomgeneric_p11
- KB_doomgeneric_p12
- KB_doomgeneric_p2
- KB_doomgeneric_p3
- KB_doomgeneric_p4
- KB_doomgeneric_p5
- KB_doomgeneric_p6
- KB_doomgeneric_p7
- KB_doomgeneric_p8
- KB_doomgeneric_p9
- KB_drivers
- KB_drivers_p2
- KB_file
- KB_freedomui
- KB_fs
- KB_headers
- KB_headers_arch_x86
- KB_headers_drivers
- KB_headers_kernel
- KB_headers_p2
- KB_headers_p3
- KB_headers_p4
- KB_headers_p5
- KB_headers_p6
- KB_kernel
- KB_kernel_p2
- KB_kernel_p3
- KB_kernel_p4
- KB_lib
- KB_lisp
- KB_lua
- KB_mcp
- KB_minios
- KB_misc
- KB_misc_p2
- KB_misc_p3
- KB_mm
- KB_net
- KB_nuklear
- KB_pokemon
- KB_progs
- KB_quake2generic
- KB_root
- KB_src
- KB_src_p2
- KB_src_p3
- KB_tests
- KB_tests_p2
- KB_tls_u
- KB_tools
- KB_tools_p2
- KB_wl
- KB_x86
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p3
- SYMBOLS_p4
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes