mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Made GMenu2X::ts private.
Pass Touchscreen reference to constructors instead of pulling it from the GMenu2X class.
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
class Touchscreen;
|
||||
|
||||
class MenuSettingMultiString : public MenuSettingStringBase {
|
||||
private:
|
||||
virtual void edit() {
|
||||
@@ -40,9 +42,9 @@ private:
|
||||
|
||||
public:
|
||||
MenuSettingMultiString(
|
||||
GMenu2X *gmenu2x, const std::string &name,
|
||||
const std::string &description, std::string *value,
|
||||
const std::vector<std::string> *choices);
|
||||
GMenu2X *gmenu2x, Touchscreen &ts,
|
||||
const std::string &name, const std::string &description,
|
||||
std::string *value, const std::vector<std::string> *choices);
|
||||
virtual ~MenuSettingMultiString() {};
|
||||
|
||||
virtual bool handleButtonPress(InputManager::Button button);
|
||||
|
||||
Reference in New Issue
Block a user