finite_window_init
The finite_window_init function creates a new window with a given FiniteShell.
void finite_window_init(FiniteShell *shell)Parameters
Section titled “Parameters”| Type | Description |
|---|---|
FiniteShell *shell | The FiniteShell to create a window for. |
Code Example
Section titled “Code Example”finite_window_init(myShell);
if (!myShell) { FINITE_LOG_FATAL("Unable to make shell");}Standard Usage
Section titled “Standard Usage”When creating a new application (NOT A POPUP), you must call this function. Although libfinite support custom implementations of some function, all libfinite functions that interact with the window expect the data provided by this function.