azul_core

Module window

Source
Expand description

Window creation / interaction with the OS’ windowing API

Structs§

Enums§

  • Utility function for easier creation of a keymap - i.e. [vec![Ctrl, S], my_function]
  • Custom event type, to construct an EventLoop<AzulWindowUpdateEvent>. This is dispatched into the EventLoop (to send a “custom” event)
  • Force a specific renderer. By default, Azul will try to use the hardware renderer and fall back to the software renderer if it can’t create an OpenGL 3.2 context. However, in some cases a hardware renderer might create problems or you want to force either a software or hardware renderer.
  • Symbolic name for a keyboard key, does NOT take the keyboard locale into account
  • X window type. Maps directly to _NET_WM_WINDOW_TYPE.

Constants§

Functions§

  • Resets the mouse states scroll_x and scroll_y to 0
  • Overwrites all fields of the FullWindowState with the fields of the WindowState, but leaves the extra fields such as .hover_nodes untouched

Type Aliases§