OpenTTD Source: TextfileWindow::Hyperlink Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
TextfileWindow::Hyperlink Struct Reference

## Data Fields
size_t | line
| Which line the link is on.
size_t | begin
| Character position on line the link begins.
size_t | end
| Character position on line the link end.
std::string | destination
| Destination for the link.

## Detailed Description

Definition at line 56 of file textfile_gui.h.

## Field Documentation

## ◆ begin

size_t TextfileWindow::Hyperlink::begin

Character position on line the link begins.

Definition at line 58 of file textfile_gui.h.

## ◆ destination

std::string TextfileWindow::Hyperlink::destination

Destination for the link.

Definition at line 60 of file textfile_gui.h.

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

## ◆ end

size_t TextfileWindow::Hyperlink::end

Character position on line the link end.

Definition at line 59 of file textfile_gui.h.

## ◆ line

size_t TextfileWindow::Hyperlink::line

Which line the link is on.

Definition at line 57 of file textfile_gui.h.

Referenced by TextfileWindow::FindHyperlinksInMarkdown().

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

- src/textfile_gui.h