Versions in this module Expand all Collapse all v0 v0.1.0 Aug 5, 2021 Changes in this version + const ACCUM + const ACTIVE_ALT + const ACTIVE_CTRL + const ACTIVE_SHIFT + const ALPHA + const BITMAP_8_BY_13 + const BITMAP_9_BY_15 + const BITMAP_HELVETICA_10 + const BITMAP_HELVETICA_12 + const BITMAP_HELVETICA_18 + const BITMAP_TIMES_ROMAN_10 + const BITMAP_TIMES_ROMAN_24 + const BLUE + const CURSOR_BOTTOM_LEFT_CORNER + const CURSOR_BOTTOM_RIGHT_CORNER + const CURSOR_BOTTOM_SIDE + const CURSOR_CROSSHAIR + const CURSOR_CYCLE + const CURSOR_DESTROY + const CURSOR_FULL_CROSSHAIR + const CURSOR_HELP + const CURSOR_INFO + const CURSOR_INHERIT + const CURSOR_LEFT_ARROW + const CURSOR_LEFT_RIGHT + const CURSOR_LEFT_SIDE + const CURSOR_NONE + const CURSOR_RIGHT_ARROW + const CURSOR_RIGHT_SIDE + const CURSOR_SPRAY + const CURSOR_TEXT + const CURSOR_TOP_LEFT_CORNER + const CURSOR_TOP_RIGHT_CORNER + const CURSOR_TOP_SIDE + const CURSOR_UP_DOWN + const CURSOR_WAIT + const DEPTH + const DEVICE_IGNORE_KEY_REPEAT + const DEVICE_KEY_REPEAT + const DISPLAY_MODE_POSSIBLE + const DOUBLE + const DOWN + const ELAPSED_TIME + const ENTERED + const FULLY_COVERED + const FULLY_RETAINED + const GAME_MODE_ACTIVE + const GAME_MODE_DISPLAY_CHANGED + const GAME_MODE_HEIGHT + const GAME_MODE_PIXEL_DEPTH + const GAME_MODE_POSSIBLE + const GAME_MODE_REFRESH_RATE + const GAME_MODE_WIDTH + const GREEN + const HAS_DIAL_AND_BUTTON_BOX + const HAS_JOYSTICK + const HAS_KEYBOARD + const HAS_MOUSE + const HAS_OVERLAY + const HAS_SPACEBALL + const HAS_TABLET + const HIDDEN + const INDEX + const INIT_DISPLAY_MODE + const INIT_WINDOW_HEIGHT + const INIT_WINDOW_WIDTH + const INIT_WINDOW_X + const INIT_WINDOW_Y + const JOYSTICK_AXES + const JOYSTICK_BUTTONS + const JOYSTICK_BUTTON_A + const JOYSTICK_BUTTON_B + const JOYSTICK_BUTTON_C + const JOYSTICK_BUTTON_D + const JOYSTICK_POLL_RATE + const KEY_DOWN + const KEY_END + const KEY_F1 + const KEY_F10 + const KEY_F11 + const KEY_F12 + const KEY_F2 + const KEY_F3 + const KEY_F4 + const KEY_F5 + const KEY_F6 + const KEY_F7 + const KEY_F8 + const KEY_F9 + const KEY_HOME + const KEY_INSERT + const KEY_LEFT + const KEY_PAGE_DOWN + const KEY_PAGE_UP + const KEY_REPEAT_DEFAULT + const KEY_REPEAT_OFF + const KEY_REPEAT_ON + const KEY_RIGHT + const KEY_UP + const LAYER_IN_USE + const LEFT + const LEFT_BUTTON + const LUMINANCE + const MENU_IN_USE + const MENU_NOT_IN_USE + const MENU_NUM_ITEMS + const MIDDLE_BUTTON + const MULTISAMPLE + const NORMAL + const NORMAL_DAMAGED + const NOT_VISIBLE + const NUM_BUTTON_BOX_BUTTONS + const NUM_DIALS + const NUM_MOUSE_BUTTONS + const NUM_SPACEBALL_BUTTONS + const NUM_TABLET_BUTTONS + const OVERLAY + const OVERLAY_DAMAGED + const OVERLAY_POSSIBLE + const OWNS_JOYSTICK + const PARTIALLY_RETAINED + const RED + const RGB + const RGBA + const RIGHT_BUTTON + const SCREEN_HEIGHT + const SCREEN_HEIGHT_MM + const SCREEN_WIDTH + const SCREEN_WIDTH_MM + const SINGLE + const STENCIL + const STEREO + const STROKE_MONO_ROMAN + const STROKE_ROMAN + const TRANSPARENT_INDEX + const UP + const VIDEO_RESIZE_HEIGHT + const VIDEO_RESIZE_HEIGHT_DELTA + const VIDEO_RESIZE_IN_USE + const VIDEO_RESIZE_POSSIBLE + const VIDEO_RESIZE_WIDTH + const VIDEO_RESIZE_WIDTH_DELTA + const VIDEO_RESIZE_X + const VIDEO_RESIZE_X_DELTA + const VIDEO_RESIZE_Y + const VIDEO_RESIZE_Y_DELTA + const VISIBLE + const WINDOW_ACCUM_ALPHA_SIZE + const WINDOW_ACCUM_BLUE_SIZE + const WINDOW_ACCUM_GREEN_SIZE + const WINDOW_ACCUM_RED_SIZE + const WINDOW_ALPHA_SIZE + const WINDOW_BLUE_SIZE + const WINDOW_BUFFER_SIZE + const WINDOW_COLORMAP_SIZE + const WINDOW_CURSOR + const WINDOW_DEPTH_SIZE + const WINDOW_DOUBLEBUFFER + const WINDOW_FORMAT_ID + const WINDOW_GREEN_SIZE + const WINDOW_HEIGHT + const WINDOW_NUM_CHILDREN + const WINDOW_NUM_SAMPLES + const WINDOW_PARENT + const WINDOW_RED_SIZE + const WINDOW_RGBA + const WINDOW_STENCIL_SIZE + const WINDOW_STEREO + const WINDOW_WIDTH + const WINDOW_X + const WINDOW_Y + func AddMenuEntry(name string, value int) + func AddSubMenu(name string, menuId int) + func AttachMenu(button int) + func BitmapCharacter(font int, character rune) + func BitmapLength(font int, s string) int + func BitmapWidth(font int, character rune) int + func ButtonBoxFunc(buttonBox func(button, state int)) + func ChangeToMenuEntry(entry int, name string, value int) + func ChangeToSubMenu(entry int, name string, menuId int) + func CopyColormap(windowId int) + func CreateMenu(menu func(value int)) (menuId int) + func CreateSubWindow(windowId, x, y, width, height int) (subWindowId int) + func CreateWindow(title string) (windowId int) + func DestroyMenu(menuId int) + func DestroyWindow(windowId int) + func DetachMenu(button int) + func DeviceGet(type_ int) int + func DialsFunc(dials func(dial, value int)) + func DisplayFunc(display func()) + func EnterGameMode() int + func EntryFunc(entry func(state int)) + func EstablishOverlay() + func ExtensionSupported(extension string) (supported bool) + func ForceJoystickFunc() + func FullScreen() + func GameModeGet(mode int) int + func GameModeString(s string) + func Get(state int) int + func GetColor(cell, component int) float32 + func GetMenu() (menuId int) + func GetModifiers() int + func GetWindow() (windowId int) + func HideOverlay() + func HideWindow() + func IconifyWindow() + func IdleFunc(idle func()) + func IgnoreKeyRepeat(ignore int) + func Init() + func InitDisplayMode(mode uint) + func InitWindowPosition(width, height int) + func InitWindowSize(width, height int) + func JoystickFunc(joystick func(buttonMask uint, x, y, z int), pollInterval int) + func KeyboardFunc(keyboard func(key uint8, x, y int)) + func KeyboardUpFunc(keyboardUp func(key uint8, x, y int)) + func LayerGet(type_ int) int + func LeaveGameMode() + func MainLoop() + func MenuStateFunc(menuState func(status int)) + func MenuStatusFunc(menuStatus func(status, x, y int)) + func MotionFunc(motion func(x, y int)) + func MouseFunc(mouse func(button, state, x, y int)) + func OverlayDisplayFunc(overlayDisplay func()) + func PassiveMotionFunc(passiveMotion func(x, y int)) + func PopWindow() + func PositionWindow(x, y int) + func PostOverlayRedisplay() + func PostRedisplay() + func PostWindowOverlayRedisplay(windowId int) + func PostWindowRedisplay(windowId int) + func PushWindow() + func RemoveMenuItem(entry int, name string, menuId int) + func RemoveOverlay() + func ReportErrors() + func ReshapeFunc(reshape func(width, height int)) + func ReshapeWindow(width, height int) + func SetColor(cell int, red, green, blue float32) + func SetCursor(cursor int) + func SetIconTitle(title string) + func SetKeyRepeat(repeatMode int) + func SetMenu(menuId int) + func SetWindow(windowId int) + func SetWindowTitle(title string) + func SetupVideoResizing() + func ShowOverlay() + func ShowWindow() + func SolidCone(base, height float64, slices, stacks int) + func SolidCube(size float64) + func SolidDodecahedron() + func SolidIcosahedron() + func SolidOctahedron() + func SolidSphere(radius float64, slices, stacks int) + func SolidTeapot(size float64) + func SolidTetrahedron() + func SolidTorus(innerRadius, outerRadius float64, nsides, rings int) + func SpaceballButtonFunc(spaceballButton func(button, state int)) + func SpaceballMotionFunc(spaceballMotion func(x, y, z int)) + func SpaceballRotateFunc(spaceballRotate func(x, y, z int)) + func SpecialFunc(special func(key, x, y int)) + func SpecialUpFunc(specialUp func(key, x, y int)) + func StopVideoResizing() + func StrokeCharacter(font int, character rune) + func StrokeLength(font int, s string) int + func StrokeWidth(font int, character rune) int + func SwapBuffers() + func TabletButtonFunc(tabletButton func(button, state, x, y int)) + func TabletMotionFunc(tabletMotion func(x, y int)) + func TimerFunc(msecs int, timer func(timerId int), timerId int) + func UseLayer(layer int) + func VideoPan(x, y, width, height int) + func VideoResize(x, y, width, height int) + func VideoResizeGet(param int) int + func VisibilityFunc(visibility func(state int)) + func WarpPointer(x, y int) + func WindowStatusFunc(windowStatus func(state int)) + func WireCone(base, height float64, slices, stacks int) + func WireCube(size float64) + func WireDodecahedron() + func WireIcosahedron() + func WireOctahedron() + func WireSphere(radius float64, slices, stacks int) + func WireTeapot(size float64) + func WireTetrahedron() + func WireTorus(innerRadius, outerRadius float64, nsides, rings int)