summaryrefslogtreecommitdiff
path: root/src/gui/guiChatConsole.h
diff options
context:
space:
mode:
authorpecksin <pexin@protonmail.com>2021-03-23 18:18:44 -0400
committerpecksin <pexin@protonmail.com>2021-03-23 18:18:44 -0400
commit7e8e3153e5227eb9b35ed2379efb54d17ba9aeae (patch)
tree87d3e0c6c048555c2e0179f29e6fbd39379dadc0 /src/gui/guiChatConsole.h
parentc18be120855d4219d7e06ed674121eb7f6a93ea5 (diff)
downloadminetest-7e8e3153e5227eb9b35ed2379efb54d17ba9aeae.tar.gz
minetest-7e8e3153e5227eb9b35ed2379efb54d17ba9aeae.tar.bz2
minetest-7e8e3153e5227eb9b35ed2379efb54d17ba9aeae.zip
move middleClick() into guiChatConsole.cpp where it belongs
Diffstat (limited to 'src/gui/guiChatConsole.h')
-rw-r--r--src/gui/guiChatConsole.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/guiChatConsole.h b/src/gui/guiChatConsole.h
index 0618f2956..169fb7eb7 100644
--- a/src/gui/guiChatConsole.h
+++ b/src/gui/guiChatConsole.h
@@ -82,9 +82,11 @@ private:
void drawText();
void drawPrompt();
- // Parse conf and populate "ctrl" keys for clickable chat
+ // Clickable weblink stuff
int setupChatClickCtrlKeys(std::string inputline);
bool isInCtrlKeys(const irr::EKEY_CODE& kc);
+ // If clicked fragment has a web url, send it to the system default web browser
+ void middleClick(s32 col, s32 row);
private:
ChatBackend* m_chat_backend;