classmameChose::ListBox

sys::Obj
  fwt::Widget
    fwt::Canvas
      mameChose::ContentBox
        mameChose::ListBox : mameChose::Scrollable

ListBox

curRom

Rom? curRom()

gap

Int gap

getKeysHelp

virtual override Str[] getKeysHelp()

hlBg

Color hlBg := Color.makeArgb(255, 80, 120, 120)

imperfect

Color imperfect := Color.makeArgb(255, 220, 130, 30)

inGame

Bool inGame := false

keyButton1

virtual override Void keyButton1(EventHandler evt)

keyButton2

virtual override Void keyButton2(EventHandler evt)

keyDown

virtual override Void keyDown(EventHandler evt)

keyStart

virtual override Void keyStart(EventHandler evt)

keyUp

virtual override Void keyUp(EventHandler evt)

make

new make(Rect bounds, Int fontSize)

missing

Color missing := Color.makeArgb(255, 116, 116, 116)

move

Rom? move(Int by := 1)

Scroll the list and repaint

moveFast

Rom? moveFast(Bool forward := true)

Move by 5% of the list size (by can be negative)

paintContents

virtual override Void paintContents(Graphics g)

preliminary

Color preliminary := Color.makeArgb(255, 160, 20, 20)

regular

Color regular := Color.white

roms

Str[] roms := Str[,]

scrollIndex

virtual override Int scrollIndex

scrollItems

virtual override Int scrollItems

scrollSize

virtual override Int scrollSize

scrollTop

virtual override Int scrollTop

title

Color title := Color.yellow