Commit 52cf329f authored by Enrico Ros's avatar Enrico Ros
Browse files

Tools.xml:

  Changed engine and annotation definitions.
PageViewAnnotator:
  Renewed parsing loops. Much cleaner code now.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=402412
parent 917d5e8b
<!DOCTYPE simpleToolsDefinition>
<!-- Annotation types:
Text Line[width] Geom Highlight Stamp[icon] Ink *[color] -->
<!-- Engine Types:
SmoothLine PickPoint[hoverIcon] TwoPoints[block(true)] -->
<!--
Engine Types [specific attributes]:
[color]
SmoothLine [lowPassFilter{true,false}]
PickPoint [hoverIcon{string}]
TwoPoints [block{true,false}]
Annotation types:
[color]
Text
Line[width]
Geom
Highlight
Stamp[icon]
Ink
-->
<annotationTools>
<tool id="1" name="Yellow Highlighter" pixmap="highlight_yellow">
<tooltip>this ..</tooltip>
<engine type="SmoothLine" />
<annotation type="Highlight" color="#FFFF00" />
<engine type="SmoothLine" color="#FFFF00">
<annotation type="Highlight" color="#FFFF00" />
</engine>
<shortcut>1</shortcut>
</tool>
<tool id="2" name="Pink Highlighter" pixmap="highlight_pink">
<tooltip>.. is ..</tooltip>
<engine type="SmoothLine" />
<annotation type="Highlight" color="#FF0080" />
<engine type="SmoothLine" color="#FF0080">
<annotation type="Highlight" color="#FF0080" />
</engine>
<shortcut>2</shortcut>
</tool>
<tool id="3" name="Yellow Highlighter" pixmap="highlight_yellow">
<tooltip>.. a ..</tooltip>
<engine type="TwoPoints" block="true" />
<annotation type="Highlight" color="#F8FF00" />
<engine type="TwoPoints" color="#F8FF00" block="true">
<annotation type="Highlight" color="#F8FF00" />
</engine>
<shortcut>3</shortcut>
</tool>
<tool id="4" name="note" pixmap="pinnote">
<tooltip>.. tooltip ..</tooltip>
<engine type="PickPoint" hoverIcon="pinnote" />
<annotation type="Text" color="#FF00FF" />
<engine type="PickPoint" color="#FF00FF" hoverIcon="pinnote">
<annotation type="Text" color="#FF00FF" />
</engine>
</tool>
<tool id="5" name="Straight Yellow Line" pixmap="color_line">
<tooltip>.. test</tooltip>
<engine type="TwoPoints" />
<annotation type="Line" width="4" color="#FFE000" />
<engine type="TwoPoints" color="#FFE000">
<annotation type="Line" width="4" color="#FFE000" />
</engine>
<shortcut>5</shortcut>
</tool>
<tool id="6" name="Arrowed Black Line" pixmap="color_line">
<engine type="TwoPoints" />
<annotation type="Line" color="#000000" />
<engine type="TwoPoints">
<annotation type="Line" />
</engine>
<shortcut>6</shortcut>
</tool>
<tool id="7" name="Warning Stamp" pixmap="messagebox_warning">
<engine type="PickPoint" hoverIcon="messagebox_warning" />
<annotation type="Stamp" icon="messagebox_warning" />
<engine type="PickPoint" hoverIcon="messagebox_warning">
<annotation type="Stamp" icon="messagebox_warning" />
</engine>
<shortcut>7</shortcut>
</tool>
</annotationTools>
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment