C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
init_view.c File Reference

Initialize C-Menu View Screen IO and Input. More...

#include <common.h>
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <unistd.h>
#include <wait.h>
Include dependency graph for init_view.c:

Go to the source code of this file.

Functions

int init_view_boxwin (Init *init)
 Initialize the C-Menu View in box window mode.
int init_view_full_screen (Init *init)
 Initialize C-Menu View in full screen mode.
void view_boxwin_resize (Init *init)
 Resize the current window and its box.
void view_calc_boxwin_dimensions (Init *init)
 Calculate the dimensions and position of the box window for C-Menu View.
void view_calc_full_screen_dimensions (Init *init)
 Calculate the dimensions for full screen mode.
void view_full_screen_resize (Init *init)
 Resize the full screen view and its components.
int view_init_input (Init *init, char *file_name)
 Initialize the input for the C-Menu View.

Variables

ViewStack view_stack

Detailed Description

Initialize C-Menu View Screen IO and Input.

Author
Bill Waller Copyright (c) 2025 MIT License billx.nosp@m.wall.nosp@m.er@gm.nosp@m.ail..nosp@m.com
Date
2026-02-09

Definition in file init_view.c.

Variable Documentation

◆ view_stack

ViewStack view_stack

Definition at line 32 of file init_view.c.