Interface Window

interface Window ;

Properties

NameTypeDescription
closeFlag[get] bool
closeFlag[set] const(bool)
onClose[set] bool delegate()
onKeyOff[set] void delegate(KeyEvent)
onKeyOn[set] void delegate(KeyEvent)
onMouseMove[set] void delegate(MouseEvent)
onMouseOff[set] void delegate(MouseEvent)
onMouseOn[set] void delegate(MouseEvent)
onResize[set] void delegate(uint, uint)
surface[get] Surface
title[get] string

Methods

NameDescription
close ()
setTitle (title)
show (width, height)