class PersonForm

Defined in:

wif/mainmenu.cr

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

Instance Method Detail

def draw #

[View source]
def information : Memo #

def information? : Memo | Nil #

def init_controls #

[View source]
def kill : Button #

def kill? : Button | Nil #

def kill_person #

[View source]
def label2 : Label #

def label2? : Label | Nil #

def persons : ListBox #

def persons? : ListBox | Nil #

def select_person(i) #

[View source]
def skill_to_color(lvl) #

[View source]