10 #include <gtkmm/box.h> 11 #include <gtkmm/buttonbox.h> 12 #include <gtkmm/eventbox.h> 13 #include <gtkmm/grid.h> 14 #include <gtkmm/label.h> 15 #include <gtkmm/togglebutton.h> 35 void setHex(
const std::string text);
109 std::vector<DisassemblyRows>*
const getRows();
132 std::vector<DisassemblyRows> rows{std::vector<DisassemblyRows>(13)};
136 void initDisassemblyContainer();
137 void initDisassemblyRows();
void setAddressVal(const uint32_t val)
Set the value of addressVal member.
The declaration of the DisassemblyModel class.
DisassemblyModel * model
A pointer to the related model.
uint32_t addressVal
The address pointed to, as an integer.
A single instance of this class represents a single read memory address and the associated data - thi...
DisassemblyRows()
Construct a new DisassemblyRows::DisassemblyRows object.
const std::string getAddress() const
Get the text in the address box.
Gtk::Label address
Displays the address of the current memory value.
void setDisassembly(const std::string text)
Set the text of disassembly label.
void initHex()
Initialises the hex label.
Gtk::Label disassembly
Displays the current disassembly value of the memory.
const bool getBreakpoint()
Returns if a breakpoint is set or not.
void setBreakpoint(const bool text)
Set the state of the breakpoint button. This is a little unusual - it sets the state in terms of CSS ...
The class definition of the main window of the program. This main window is the mater view of the pro...
DisassemblyModel * model
A pointer to the model.
Gtk::HBox buttonSizer
Setting exact size of widgets is hard; this container is needed to set the size of the button...
void initAddress()
Initialises the address label.
void setAddress(const std::string text)
Set the text of the address label.
Represents the entire disassembly window in the overall KoMo2 GUI. Contains several rows of memory va...
void initBreakpoint()
Initialises the breakpoint button.
MainWindowView *const parent
A pointer to the parent view.
Gtk::ToggleButton *const getButton()
Gets a constant pointer to the breakpoint button member.
void initDisassembly()
Initialises the disassembly label.
Gtk::Label hex
Displays the current hexadecimal value of the memory.
void setModel(DisassemblyModel *const val)
Sets the value of the model pointer.
Gtk::VButtonBox disassemblyContainer
A container for the disassembly rows.
const std::string getDisassembly()
Gets the disassembly text for the breakpoint row.
void setHex(const std::string text)
Set the text of the hex label.
Gtk::ToggleButton breakpoint
The debugging breakpoint button.
const uint32_t getAddressVal() const
Get the addressVal member.