struct Eagle::Platform::WindowConfig

Overview

Window settings passed to a backend when it opens. Config fills this in.

Defined in:

eagle/platform/base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Creates the default config.


Instance Method Detail

def fullscreen : Bool #

Start fullscreen.


def fullscreen=(fullscreen : Bool) #

Start fullscreen.


def height : Int32 #

Height in logical points.


def height=(height : Int32) #

Height in logical points.


def hidden : Bool #

Start hidden.


def hidden=(hidden : Bool) #

Start hidden.


def highdpi : Bool #

Use full resolution on high-DPI screens.


def highdpi=(highdpi : Bool) #

Use full resolution on high-DPI screens.


def msaa : Int32 #

Multisample count.


def msaa=(msaa : Int32) #

Multisample count.


def resizable : Bool #

Whether the window can be resized.


def resizable=(resizable : Bool) #

Whether the window can be resized.


def title : String #

Window title.


def title=(title : String) #

Window title.


def vsync : Bool #

Sync to the display refresh.


def vsync=(vsync : Bool) #

Sync to the display refresh.


def width : Int32 #

Width in logical points.


def width=(width : Int32) #

Width in logical points.