Window

bearlyb.events.Event.Window
enum Window extends Event

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait Event
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class CloseRequested(timestamp: Duration, id: WindowID)

The window manager requests that the window be closed

The window manager requests that the window be closed

Attributes

final case class Destroyed(timestamp: Duration, id: WindowID)

The window with the associated ID is being or has been destroyed. If this message is being handled in an event watcher, the window handle is still valid and can still be used to retrieve any properties associated with the window. Otherwise, the handle has already been destroyed and all resources associated with it are invalid

The window with the associated ID is being or has been destroyed. If this message is being handled in an event watcher, the window handle is still valid and can still be used to retrieve any properties associated with the window. Otherwise, the handle has already been destroyed and all resources associated with it are invalid

Attributes

final case class DisplayChanged(timestamp: Duration, id: WindowID, display: DisplayID)

Window has been moved to display display

Window has been moved to display display

Attributes

final case class DisplayScaleChanged(timestamp: Duration, id: WindowID)

Window display scale has been changed

Window display scale has been changed

Attributes

final case class EnterFullscreen(timestamp: Duration, id: WindowID)

The window has entered fullscreen mode

The window has entered fullscreen mode

Attributes

final case class Exposed(timestamp: Duration, id: WindowID)

Window has been exposed and should be redrawn, and can be redrawn directly from event watchers for this event

Window has been exposed and should be redrawn, and can be redrawn directly from event watchers for this event

Attributes

final case class FocusGained(timestamp: Duration, id: WindowID)

Window has gained keyboard focus

Window has gained keyboard focus

Attributes

final case class FocusLost(timestamp: Duration, id: WindowID)

Window has lost keyboard focus

Window has lost keyboard focus

Attributes

final case class HDRStateChanged(timestamp: Duration, id: WindowID)

Window HDR properties have changed

Window HDR properties have changed

Attributes

final case class Hidden(timestamp: Duration, id: WindowID)

Window has been hidden

Window has been hidden

Attributes

final case class HitTest(timestamp: Duration, id: WindowID)

Window had a hit test that wasn't SDL_HITTEST_NORMAL

Window had a hit test that wasn't SDL_HITTEST_NORMAL

Attributes

final case class ICCProfChanged(timestamp: Duration, id: WindowID)

The ICC profile of the window's display has changed

The ICC profile of the window's display has changed

Attributes

final case class LeaveFullscreen(timestamp: Duration, id: WindowID)

The window has left fullscreen mode

The window has left fullscreen mode

Attributes

final case class Maximized(timestamp: Duration, id: WindowID)

Window has been maximized

Window has been maximized

Attributes

final case class MetalViewResized(timestamp: Duration, id: WindowID)

The pixel size of a Metal view associated with the window has changed

The pixel size of a Metal view associated with the window has changed

Attributes

final case class Minimized(timestamp: Duration, id: WindowID)

Window has been minimized

Window has been minimized

Attributes

final case class MouseEnter(timestamp: Duration, id: WindowID)

Window has gained mouse focus

Window has gained mouse focus

Attributes

final case class MouseLeave(timestamp: Duration, id: WindowID)

Window has lost mouse focus

Window has lost mouse focus

Attributes

final case class Moved(timestamp: Duration, id: WindowID, x: Int, y: Int)

Window has been moved to x, y

Window has been moved to x, y

Attributes

final case class Occluded(timestamp: Duration, id: WindowID)

The window has been occluded

The window has been occluded

Attributes

final case class PixelSizeChanged(timestamp: Duration, id: WindowID, pw: Int, ph: Int)

The pixel size of the window has changed to pw x ph

The pixel size of the window has changed to pw x ph

Attributes

final case class Resized(timestamp: Duration, id: WindowID, w: Int, h: Int)

Window has been resized to w x h

Window has been resized to w x h

Attributes

final case class Restored(timestamp: Duration, id: WindowID)

Window has been restored to normal size and position

Window has been restored to normal size and position

Attributes

final case class SafeAreaChanged(timestamp: Duration, id: WindowID)

The window safe area has been changed

The window safe area has been changed

Attributes

final case class Shown(timestamp: Duration, id: WindowID)

Window has been shown

Window has been shown

Attributes