class MainForm

Defined in:

wif/mainmenu.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Window

after_init after_init, controls : Array(Control) controls, draw draw, focused_child : FocusableControl | Nil focused_child, focused_child=(focused_child : FocusableControl | Nil) focused_child=, init_controls init_controls, process_key(key : Key) : Bool process_key, process_mouse(event : MouseEvent, x : Int32, y : Int32) process_mouse

Constructor methods inherited from class Window

new(owner, name, x, y, width, height) new

Macros inherited from class Window

controls(**args) controls

Instance methods inherited from class FocusableControl

need_frame need_frame, on_key : OnKey | Nil on_key, process_key(key : Key) : Bool process_key

Instance methods inherited from class Control

clickable clickable, color : ColorPair color, color=(color : ColorPair) color=, draw draw, frontend frontend, have_focus : Bool have_focus, have_focus=(have_focus : Bool) have_focus=, height : Int32 height, height=(height : Int32) height=, includes?(x, y) includes?, name : String | Symbol name, need_frame : Bool need_frame, need_frame=(need_frame : Bool) need_frame=, owner : Window | Nil owner, process_mouse(event : MouseEvent, x : Int32, y : Int32) process_mouse, visible : Bool visible, visible=(visible : Bool) visible=, width : Int32 width, width=(width : Int32) width=, x : Int32 x, x2 x2, x=(x : Int32) x=, y : Int32 y, y2 y2, y=(y : Int32) y=

Constructor methods inherited from class Control

new(owner : Window | Nil, name : String | Symbol, x : Int32, y : Int32, width : Int32, height : Int32) new

Class Method Detail

def self.world : ECS::World #

def self.world=(world : ECS::World) #

[View source]
def self.world? : ECS::World | Nil #

Instance Method Detail

def button1 : Button #

def button1? : Button | Nil #

def button2 : Button #

def button2? : Button | Nil #

def button3 : Button #

def button3? : Button | Nil #

def button4 : Button #

def button4? : Button | Nil #

def button5 : Button #

def button5? : Button | Nil #

def co2 : Label #

def co2? : Label | Nil #

def cur_day : Label #

def cur_day? : Label | Nil #

def draw #

[View source]
def form_key(key : Key) : Bool #

[View source]
def init_controls #

[View source]
def next_day #

[View source]
def scenes : TabControl #

def scenes? : TabControl | Nil #

def select_tab(number) #

[View source]