mirror of https://github.com/bsnes-emu/bsnes.git
31 lines
494 B
C++
Executable File
31 lines
494 B
C++
Executable File
class BreakpointItem : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QHBoxLayout *layout;
|
|
QCheckBox *enabled;
|
|
QLineEdit *addr;
|
|
QLineEdit *data;
|
|
QComboBox *mode;
|
|
QComboBox *source;
|
|
BreakpointItem(unsigned id);
|
|
|
|
public slots:
|
|
void toggle();
|
|
|
|
private:
|
|
const unsigned id;
|
|
};
|
|
|
|
class BreakpointEditor : public Window {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QVBoxLayout *layout;
|
|
BreakpointItem *breakpoint[SNES::Debugger::Breakpoints];
|
|
|
|
BreakpointEditor();
|
|
};
|
|
|
|
extern BreakpointEditor *breakpointEditor;
|