classmameChose::ContentBox

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

ContentBox

bg

Color bg := Color.makeArgb(255, 40, 40, 40)

fg

Color fg := Color.makeArgb(255, 100, 255, 100)

fgOn

Color fgOn := Color.yellow

fontSize

Int fontSize

getKeysHelp

virtual Str[] getKeysHelp()

Contextual help for which buttons does what

keyButton1

virtual Void keyButton1(EventHandler evt)

keyButton2

virtual Void keyButton2(EventHandler evt)

keyDown

virtual Void keyDown(EventHandler evt)

keyStart

virtual Void keyStart(EventHandler evt)

keyUp

virtual Void keyUp(EventHandler evt)

make

new make(Rect bounds, Int fontSize)

onPaint

virtual override Void onPaint(Graphics g)

onSelect

virtual Void onSelect(Bool selected)

Receive the event when this box is selected or de-selected

paintContents

virtual Void paintContents(Graphics g)

titleBg

Color titleBg := Color.makeArgb(255, 50, 50, 50)