4
#include "SimpleHexRequest.h"
5
#include "ui_VDPRegistersExplained.h"
9
class InteractiveButton;
11
/** See remarks for the highlightDispatcher in VDPStatusRegViewer.h :-)
13
class buttonHighlightDispatcher : public QObject
17
buttonHighlightDispatcher();
20
void receiveState(bool state);
23
void dispatchState(bool state);
30
class VDPRegViewer : public QDialog, public SimpleHexRequestUser,
31
private Ui::VDPRegisters
35
VDPRegViewer(QWidget* parent = 0);
40
void decodeStatusVDPRegs();
41
void setRegisterVisible(int r, bool visible);
43
void connectHighLights();
45
void doConnect(InteractiveButton* lab, buttonHighlightDispatcher* dis);
46
buttonHighlightDispatcher* makeGroup(
47
QList<InteractiveButton*>, InteractiveLabel*);
48
void reGroup(InteractiveButton*, buttonHighlightDispatcher*);
49
void monoGroup(InteractiveButton*, InteractiveLabel*);
51
virtual void DataHexRequestReceived();
54
buttonHighlightDispatcher* modeBitsDispat;
59
void registerBitChanged(int reg, int bit, bool state);
61
//quick hack while no autodetection...
62
void on_VDPcomboBox_currentIndexChanged(int index);
65
#endif /* VDPSTATUSREGVIEWER_H */