mirror of https://github.com/stella-emu/stella.git
fixed view of disabled checkbox
This commit is contained in:
parent
fee5f57179
commit
da78065996
|
@ -18,7 +18,7 @@
|
|||
(thanks go to RomHunter for his tireless research in this area).
|
||||
Related to this, updated the snapshot collection.
|
||||
|
||||
* Added various developer options for oddball TIAs
|
||||
* Added various developer options for oddball TIAs:
|
||||
- delayed playfield bits
|
||||
- delayed playfield color
|
||||
- delayed player 0 swap
|
||||
|
|
|
@ -647,7 +647,7 @@ void CheckboxWidget::drawWidget(bool hilite)
|
|||
// Do we draw a square or cross?
|
||||
s.fillRect(_x + 1, _y + _boxY + 1, 12, 12,
|
||||
_changed ? onTop ? kDbgChangedColor : kDlgColor :
|
||||
isEnabled() ? onTop ? _bgcolor : kDlgColor : kColor);
|
||||
isEnabled() && onTop ? _bgcolor : kDlgColor);
|
||||
if(_state)
|
||||
s.drawBitmap(_img, _x + 2, _y + _boxY + 2, onTop && isEnabled() ? hilite && isEditable() ? kWidColorHi : kCheckColor
|
||||
: kColor, 10);
|
||||
|
|
Loading…
Reference in New Issue