summaryrefslogtreecommitdiff
path: root/src/querystring_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r--src/querystring_gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h
index 52bcc24df..0a11c986c 100644
--- a/src/querystring_gui.h
+++ b/src/querystring_gui.h
@@ -16,6 +16,7 @@ enum HandleEditBoxResult
HEBR_EDITING = 0, // Other key pressed.
HEBR_CONFIRM, // Return or enter key pressed.
HEBR_CANCEL, // Escape key pressed.
+ HEBR_NOT_FOCUSED, // Edit box widget not focused.
};
/**
@@ -43,6 +44,7 @@ struct QueryString {
free((void*)this->orig);
}
+ bool HasEditBoxFocus(const Window *w, int wid) const;
void DrawEditBox(Window *w, int wid);
void HandleEditBox(Window *w, int wid);
HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, Window::EventState &state);