mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
GUIChatConsole: Use primary selection
This commit is contained in:
parent
062b4d036a
commit
e9e8eed360
2 changed files with 45 additions and 10 deletions
|
@ -84,8 +84,12 @@ private:
|
|||
void drawText();
|
||||
void drawPrompt();
|
||||
|
||||
// If clicked fragment has a web url, send it to the system default web browser
|
||||
void middleClick(s32 col, s32 row);
|
||||
// If clicked fragment has a web url, send it to the system default web browser.
|
||||
// Returns true if, and only if a web url was pressed.
|
||||
bool weblinkClick(s32 col, s32 row);
|
||||
|
||||
// If the selected text changed, we need to update the (X11) primary selection.
|
||||
void updatePrimarySelection();
|
||||
|
||||
private:
|
||||
ChatBackend* m_chat_backend;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue