aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
diff options
context:
space:
mode:
authorBastien Bouclet2018-08-27 06:39:40 +0200
committerBastien Bouclet2018-08-27 06:39:40 +0200
commitac4b2efd3fb7fd7a02fc2bc74de249045d353b2b (patch)
tree739b866bd386c64eae8f507f7903a75bd571198e /gui/widgets
parent94a520d299e0001f40d1ccd0eed00d304a56b583 (diff)
downloadscummvm-rg350-ac4b2efd3fb7fd7a02fc2bc74de249045d353b2b.tar.gz
scummvm-rg350-ac4b2efd3fb7fd7a02fc2bc74de249045d353b2b.tar.bz2
scummvm-rg350-ac4b2efd3fb7fd7a02fc2bc74de249045d353b2b.zip
GUI: Clean up file browser path entry
Diffstat (limited to 'gui/widgets')
-rw-r--r--gui/widgets/edittext.cpp5
-rw-r--r--gui/widgets/edittext.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/gui/widgets/edittext.cpp b/gui/widgets/edittext.cpp
index 540dc27932..8dabb0df61 100644
--- a/gui/widgets/edittext.cpp
+++ b/gui/widgets/edittext.cpp
@@ -132,7 +132,6 @@ void EditTextWidget::startEditMode() {
void EditTextWidget::endEditMode() {
releaseFocus();
- sendCommand(kExitTxtCmd, 0);
sendCommand(_finishCmd, 0);
}
@@ -143,8 +142,4 @@ void EditTextWidget::abortEditMode() {
releaseFocus();
}
-Common::String EditTextWidget::getEditString() {
- return _backupString;
-}
-
} // End of namespace GUI
diff --git a/gui/widgets/edittext.h b/gui/widgets/edittext.h
index d382c8f067..9a1b698606 100644
--- a/gui/widgets/edittext.h
+++ b/gui/widgets/edittext.h
@@ -29,10 +29,6 @@
namespace GUI {
-enum {
- kExitTxtCmd = 'TXTE'
-};
-
/* EditTextWidget */
class EditTextWidget : public EditableWidget {
protected:
@@ -48,7 +44,6 @@ public:
EditTextWidget(GuiObject *boss, const String &name, const String &text, const char *tooltp = 0, uint32 cmd = 0, uint32 finishCmd = 0);
void setEditString(const String &str);
- String getEditString();
virtual void handleMouseDown(int x, int y, int button, int clickCount);