classmameChose::MainCanvas

sys::Obj
  fwt::Widget
    fwt::Canvas
      mameChose::MainCanvas

Main canvas that contains all the subpanels (box)

This also handle all the eventing

bg

Color bg := Color.black

context

ContextBox context

curRom

Int? curRom

evtHandler

EventHandler evtHandler

fontSize

Int fontSize

help

HelpBox help

lastEvent

DateTime lastEvent := DateTime.now

list

ListBox list

make

new make(Rect bounds, Int fontSize)

meta

MetaBox meta

NavBox nav

onPaint

virtual override Void onPaint(Graphics g)

Paint this and children

screenSaverOn

Void screenSaverOn(Bool on)

screenSaverPaint

Void screenSaverPaint()

Called every few seconds by screensaver thread to apint some more stuff

setRomList

Void setRomList(Str[] romNames)

Set the current rom list

state

AppState state