From d5c3db9c4179e27a80c32ee95d6573ad0ec7137e Mon Sep 17 00:00:00 2001 From: Ekdohibs Date: Thu, 5 May 2016 18:50:02 +0200 Subject: Make dropdowns show the string that was their argument. This makes it work even if it contains escape sequences, which didn't work before. --- src/guiFormSpecMenu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/guiFormSpecMenu.h') diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index 8774d306f..276807438 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -357,6 +357,7 @@ public: bool pausesGame() { return doPause; } GUITable* getTable(const std::string &tablename); + std::vector* getDropDownValues(const std::string &name); #ifdef __ANDROID__ bool getAndroidUIInput(); @@ -395,6 +396,7 @@ protected: std::vector > m_checkboxes; std::map m_tooltips; std::vector > m_scrollbars; + std::vector > > m_dropdowns; ItemSpec *m_selected_item; f32 m_timer1; -- cgit v1.2.3