refactor and shizz
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <gtkmm/box.h>
|
||||
#include <gtkmm/button.h>
|
||||
#include "components/base/button.hpp"
|
||||
|
||||
class BluetoothWidget : public Gtk::Box {
|
||||
public:
|
||||
@@ -21,11 +22,11 @@ class BluetoothWidget : public Gtk::Box {
|
||||
|
||||
Gtk::Box statusArea;
|
||||
Gtk::Box *deviceList = nullptr;
|
||||
Gtk::Button *scanButton = nullptr;
|
||||
Gtk::Button *powerButton = nullptr;
|
||||
Button *scanButton = nullptr;
|
||||
Button *powerButton = nullptr;
|
||||
|
||||
void onPowerButtonClicked();
|
||||
void onScanButtonClicked();
|
||||
|
||||
void toggleButton(Gtk::Button *button, bool state);
|
||||
void toggleButton(Button *button, bool state);
|
||||
};
|
||||
Reference in New Issue
Block a user