OpenTTD Source 20250312-master-gcdcc6b491d
TextfileWindow::Hyperlink Struct Reference

Data Fields

size_t line = 0
 Which line the link is on.
 
size_t begin = 0
 Character position on line the link begins.
 
size_t end = 0
 Character position on line the link end.
 
std::string destination {}
 Destination for the link.
 

Detailed Description

Definition at line 57 of file textfile_gui.h.

Field Documentation

◆ begin

size_t TextfileWindow::Hyperlink::begin = 0

Character position on line the link begins.

Definition at line 59 of file textfile_gui.h.

◆ destination

std::string TextfileWindow::Hyperlink::destination {}

Destination for the link.

Definition at line 61 of file textfile_gui.h.

Referenced by TextfileWindow::NavigateToFile(), TextfileWindow::OnHyperlinkClick(), and TextfileWindow::OnTooltip().

◆ end

size_t TextfileWindow::Hyperlink::end = 0

Character position on line the link end.

Definition at line 60 of file textfile_gui.h.

◆ line

size_t TextfileWindow::Hyperlink::line = 0

Which line the link is on.

Definition at line 58 of file textfile_gui.h.

Referenced by TextfileWindow::FindHyperlinksInMarkdown().


The documentation for this struct was generated from the following file: