OpenTTD Source: TextfileWindow::Hyperlink Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
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 63 of file textfile_gui.h.

## Field Documentation

## ◆ begin

size_t TextfileWindow::Hyperlink::begin = 0

Character position on line the link begins.

Definition at line 65 of file textfile_gui.h.

Referenced by TextfileWindow::FindHyperlinksInMarkdown().

## ◆ destination

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

Destination for the link.

Definition at line 67 of file textfile_gui.h.

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

## ◆ end

size_t TextfileWindow::Hyperlink::end = 0

Character position on line the link end.

Definition at line 66 of file textfile_gui.h.

Referenced by TextfileWindow::FindHyperlinksInMarkdown().

## ◆ line

size_t TextfileWindow::Hyperlink::line = 0

Which line the link is on.

Definition at line 64 of file textfile_gui.h.

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

- src/textfile_gui.h