LeechCraft Monocle 0.6.70-17335-ge406ffdcaf
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
LC::Monocle::NavigationAction Struct Reference

A link action that represents navigating inside the document. More...

#include "ilink.h"

Public Member Functions

bool operator== (const NavigationAction &) const =default
 
bool operator< (const NavigationAction &other) const
 

Public Attributes

int PageNumber_
 
std::optional< PageRelativeRectBaseTargetArea_ {}
 
std::optional< double > Zoom_ {}
 

Detailed Description

A link action that represents navigating inside the document.

Definition at line 54 of file ilink.h.

Member Function Documentation

◆ operator<()

bool LC::Monocle::NavigationAction::operator< ( const NavigationAction & other) const
inline

Definition at line 69 of file ilink.h.

◆ operator==()

bool LC::Monocle::NavigationAction::operator== ( const NavigationAction & ) const
default

Member Data Documentation

◆ PageNumber_

int LC::Monocle::NavigationAction::PageNumber_

The (zero-based) index of the page this link refers to.

Definition at line 58 of file ilink.h.

◆ TargetArea_

std::optional<PageRelativeRectBase> LC::Monocle::NavigationAction::TargetArea_ {}

The target rect of this link in the viewport.

Definition at line 62 of file ilink.h.

◆ Zoom_

std::optional<double> LC::Monocle::NavigationAction::Zoom_ {}

The new zoom value for the page.

Definition at line 66 of file ilink.h.


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