Skip to content

Internal Variables

Pokeman2003 edited this page Aug 7, 2023 · 1 revision

This page covers a bunch of barely documented variables, meant for me to keep track of things. You don't need to look at this, unless you plan to make your own changes.

Window Manager

Internal shit

windowList

Priority. Stores all of the windows, with their lists.

stackTop

List. Stores the currently active window.

colorSchema

List. Stores the color schemes.

global.winManager

Instance ID. Stores the global manager's ID.

activeElement

List pointer. What element is currently being interacted with.

allDeactivate

Boolean. Whether or not the click event deactivates all of the windows.

clearIO

Boolean. Whether or not to clear the IO, if a window is selected.

windowFont

Font. Which font to use in the text.

Color themes

windowInactiveScheme

Which theme to use for inactive windows by default.

col_normal

Color list. Normal theme.

col_reverse

Color list. Inverted theme.

col_inactive

Color list. Inactive theme.

Register

Arguments

title

String. The window's title.

style

Bitmask. The window's style.

posX, posY

Integer. Window's position X and Y.

surfaceID

Surface. Existing surface to apply to window. Resizes window to fit surface.

sizeX, sizeY

Integers. Overrides surface.

colorScheme

List. Which color scheme to utilize as the default.

Etc.

windowID

Returned window ID.