Adding debug button for objects in sheet
This commit is contained in:
parent
e8933c5029
commit
92db466083
3 changed files with 23 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ namespace learn_gtkmm4 {
|
|||
namespace Gtk {
|
||||
class Builder;
|
||||
class Label;
|
||||
class Button;
|
||||
}
|
||||
|
||||
namespace gui_to_app {
|
||||
|
|
@ -59,6 +60,8 @@ namespace gui_to_app {
|
|||
|
||||
bool switch_signal_handler(bool flag, const character::billyEnums &obj) noexcept;
|
||||
|
||||
void debug_button_clicked() const noexcept;
|
||||
|
||||
bool insert_obj(const character::billyEnums &obj) noexcept;
|
||||
|
||||
bool erase_obj(const character::billyEnums &obj) noexcept;
|
||||
|
|
@ -85,6 +88,8 @@ namespace gui_to_app {
|
|||
Gtk::Label *hab_mat{ nullptr };
|
||||
Gtk::Label *hab_total{ nullptr };
|
||||
|
||||
Gtk::Button *debug_button{ nullptr };
|
||||
|
||||
std::array<SwitchSignalHelper, 12> signal_handlers{
|
||||
SwitchSignalHelper{ .app = *this, .obj = character::weapons::Sword },
|
||||
SwitchSignalHelper{ .app = *this, .obj = character::weapons::Lance },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue