mirror of https://github.com/stella-emu/stella.git
Delay queue widget: Finishing touches
* Reorder widgets in TIA tab * Change background color to readonly * Pacify compiler warning in iterator * Fix typo in TiaDebug
This commit is contained in:
parent
96bbba223a
commit
3df449603e
|
@ -419,7 +419,7 @@ uInt8 TIADebug::pf2(int newVal)
|
|||
if(newVal > -1)
|
||||
mySystem.poke(PF2, newVal);
|
||||
|
||||
return myTIA.registerValue(PF1);
|
||||
return myTIA.registerValue(PF2);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -218,7 +218,7 @@ void DelayQueueWidget::drawWidget(bool hilite)
|
|||
y += 1;
|
||||
x += 1;
|
||||
w -= 1;
|
||||
surface.fillRect(x, y, w - 1, _h - 2, kWidColor);
|
||||
surface.fillRect(x, y, w - 1, _h - 2, kBGColorLo);
|
||||
|
||||
y += 2;
|
||||
x += 2;
|
||||
|
|
|
@ -523,21 +523,21 @@ TiaWidget::TiaWidget(GuiObject* boss, const GUI::Font& lfont,
|
|||
myPriorityPF->setID(kPriorityPFID);
|
||||
addFocusWidget(myPriorityPF);
|
||||
|
||||
// How to handle undriven pins
|
||||
xpos = 10; ypos += 2*lineHeight;
|
||||
myUndrivenPins = new CheckboxWidget(boss, lfont, xpos, ypos+1,
|
||||
"Drive unused TIA pins randomly on a read/peek", kPPinCmd);
|
||||
myUndrivenPins->setTarget(this);
|
||||
addFocusWidget(myUndrivenPins);
|
||||
|
||||
xpos = 10;
|
||||
ypos += 2*lineHeight;
|
||||
ypos += 2 * lineHeight;
|
||||
new StaticTextWidget(boss, lfont, xpos, ypos, 20*fontWidth, fontHeight,
|
||||
"Queued Writes:", kTextAlignLeft);
|
||||
|
||||
ypos += 1.3*lineHeight;
|
||||
xpos = 10;
|
||||
myDelayQueueWidget = new DelayQueueWidget(boss, lfont, xpos, ypos);
|
||||
|
||||
// How to handle undriven pins
|
||||
xpos = 10; ypos += (myDelayQueueWidget->getHeight() + lineHeight);
|
||||
myUndrivenPins = new CheckboxWidget(boss, lfont, xpos, ypos+1,
|
||||
"Drive unused TIA pins randomly on a read/peek", kPPinCmd);
|
||||
myUndrivenPins->setTarget(this);
|
||||
addFocusWidget(myUndrivenPins);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -88,7 +88,7 @@ bool DelayQueueIterator::next()
|
|||
else
|
||||
break;
|
||||
}
|
||||
|
||||
return isValid();
|
||||
}
|
||||
|
||||
return isValid();
|
||||
}
|
Loading…
Reference in New Issue