summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/HyperlinkManager.hpp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-10 03:01:52 +0000
committerNorbert Preining <norbert@preining.info>2019-12-10 03:01:52 +0000
commit0174af21196c197a5b3672c87bc6f7a614fddd7d (patch)
tree00b155441be0755336593a3a2170f7531a055e99 /dviware/dvisvgm/src/HyperlinkManager.hpp
parentd1cebb67c836ee110bdbd3aeb622675df479c993 (diff)
CTAN sync 201912100301
Diffstat (limited to 'dviware/dvisvgm/src/HyperlinkManager.hpp')
-rw-r--r--dviware/dvisvgm/src/HyperlinkManager.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dviware/dvisvgm/src/HyperlinkManager.hpp b/dviware/dvisvgm/src/HyperlinkManager.hpp
index 7f5a460bdb..762b4a4cca 100644
--- a/dviware/dvisvgm/src/HyperlinkManager.hpp
+++ b/dviware/dvisvgm/src/HyperlinkManager.hpp
@@ -59,7 +59,7 @@ class HyperlinkManager {
static void setDefaultLinkColor (Color color);
protected:
- HyperlinkManager () : _anchorType(AnchorType::NONE), _depthThreshold(0), _linewidth(-1) {}
+ HyperlinkManager () =default;
void markLinkedBox (SpecialActions &actions);
enum class MarkerType {NONE, LINE, BOX, BGCOLOR};
@@ -69,9 +69,9 @@ class HyperlinkManager {
static ColorSource COLORSOURCE; ///< if true, LINK_LINECOLOR is applied
private:
- AnchorType _anchorType; ///< type of active anchor
- int _depthThreshold; ///< break anchor box if the DVI stack depth underruns this threshold
- double _linewidth; ///< line width of link marker (-1 => compute individual value per link)
+ AnchorType _anchorType=AnchorType::NONE; ///< type of active anchor
+ int _depthThreshold=0; ///< break anchor box if the DVI stack depth underruns this threshold
+ double _linewidth=-1; ///< line width of link marker (-1 => compute individual value per link)
std::string _base; ///< base URL that is prepended to all relative targets
NamedAnchors _namedAnchors; ///< information about all named anchors processed
};