[][src]Module azul_core::window

Structs

CallCallbacksResult
CallbacksOfHitTest
DebugState

Toggles webrender debug flags (will make stuff appear on the screen that you might not want to - used for debugging purposes)

DetermineCallbackResult
FullWindowState
HotReloader
IconKey

Key that is used for checking whether a window icon has changed - this way azul doesn't need to diff the actual bytes, just the icon key. Use IconKey::new() to generate a new, unique key

KeyboardState

Determines which keys are pressed currently (modifiers, etc.)

LinuxWindowOptions
LogicalPosition
LogicalSize
MouseState

Mouse position, cursor type, user scroll input, etc.

PhysicalPosition
PhysicalSize
ScrollState
ScrollStates
TaskBarIcon

256x256x4 bytes window icon

WaylandTheme
WindowCreateOptions

Options on how to initially create the window

WindowFlags
WindowId

Each default callback is identified by its ID (not by it's function pointer), since multiple IDs could point to the same function.

WindowInternal
WindowSize
WindowState

State, size, etc of the window, for comparing to the last frame

Enums

AcceleratorKey

Utility function for easier creation of a keymap - i.e. [vec![Ctrl, S], my_function]

AzulUpdateEvent

Custom event type, to construct an EventLoop<AzulWindowUpdateEvent>. This is dispatched into the EventLoop (to send a "custom" event)

CursorPosition
FullScreenMode
MouseCursorType
RendererType

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.

UpdateFocusWarning
VirtualKeyCode

Symbolic name for a keyboard key, does NOT take the keyboard locale into account

WindowIcon
XWindowType

X window type. Maps directly to _NET_WM_WINDOW_TYPE.

Constants

DEFAULT_HEIGHT
DEFAULT_TITLE
DEFAULT_WIDTH

Functions

clear_scroll_state

Resets the mouse states scroll_x and scroll_y to 0

update_full_window_state

Overwrites all fields of the FullWindowState with the fields of the WindowState, but leaves the extra fields such as .hover_nodes untouched

Type Definitions

PlatformSpecificOptions
ScanCode

Hardware-dependent keyboard scan code.