class Boleite::GUI

Overview

This file needs to be read first!

Included Modules

Defined in:

boleite/gui/button.cr
boleite/gui/container.cr
boleite/gui/default_design/button.cr
boleite/gui/default_design/cache.cr
boleite/gui/default_design/container.cr
boleite/gui/default_design/design.cr
boleite/gui/default_design/desktop.cr
boleite/gui/default_design/image.cr
boleite/gui/default_design/input_field.cr
boleite/gui/default_design/label.cr
boleite/gui/default_design/layout.cr
boleite/gui/default_design/text_box.cr
boleite/gui/default_design/window.cr
boleite/gui/design.cr
boleite/gui/desktop.cr
boleite/gui/graphics.cr
boleite/gui/grid_layout.cr
boleite/gui/gui.cr
boleite/gui/helpers.cr
boleite/gui/image.cr
boleite/gui/input/container.cr
boleite/gui/input/gui.cr
boleite/gui/input/handler.cr
boleite/gui/input/input_field.cr
boleite/gui/input/widget.cr
boleite/gui/input/window.cr
boleite/gui/input_field.cr
boleite/gui/label.cr
boleite/gui/layout.cr
boleite/gui/renderer.cr
boleite/gui/root.cr
boleite/gui/text_box.cr
boleite/gui/widget.cr
boleite/gui/window.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(gfx, default_font) #

[View source]

Instance Method Detail

def add_root(root : Root) #

[View source]
def contract_ensures_add_root(return_value, root : Root) #

[View source]
def contract_ensures_move_to_front(return_value, root : Root) #

[View source]
def contract_post_add_root(check_depth, return_value, root : Root) #

[View source]
def contract_post_move_to_front(check_depth, return_value, root : Root) #

[View source]
def contract_pre_add_root(check_depth, root : Root) #

[View source]
def contract_pre_move_to_front(check_depth, root : Root) #

[View source]
def contract_requires_add_root(root : Root) #

[View source]
def contract_requires_move_to_front(root : Root) #

[View source]
def disable(parent_input) #

[View source]
def each_root(&) #

[View source]
def each_root #

[View source]
def enable(parent_input) #

[View source]
def find_repaint_widgets #

[View source]
def global_input_receiver #

[View source]
def global_input_router #

[View source]
def handle_root_mouse_over(pos : Vector2f) #

[View source]
def move_to_front(root : Root) #

[View source]
def pulse #

[View source]
def remove_root(root : Root) #

[View source]
def render #

[View source]
def target_size(args) #

def target_size(*args, **options) #

[View source]
def target_size(*args, **options, &) #

[View source]
def test_invariant_contracts(method = "") #

[View source]

Macro Detail

macro assert(test) #

[View source]
macro ensures(test) #

[View source]
macro invariant(test) #

[View source]
macro requires(test) #

[View source]