Commit Graph

934 Commits

Author SHA1 Message Date
Ian Gilman
214cda41e9 Changelog for #348 2014-03-06 09:35:13 -08:00
iangilman
b60b78c409 Merge pull request #348 from fs-webdev/tile-drawing-event
Added pre-draw event for tiles to allow applications to alter the image ...
2014-03-06 09:32:45 -08:00
Grant Echols
9f09951840 Reworded the test messages to 'should be' form as per standard practice. 2014-03-06 08:58:56 -07:00
Grant Echols
95f0591210 Added message to clarify that the event only fires when <canvas> is being used. 2014-03-04 10:38:10 -07:00
Grant Echols
27424348f3 Added test case for tile-drawing event. 2014-03-03 16:19:40 -07:00
Grant Echols
be79249c9c Added pre-draw event for tiles to allow applications to alter the image just prior to its rendering. This should enable invert, brightness, contrast, sharpen and other transformations to occur naturally through the 'tile-drawing' event listener.
The listener is given the 'rendered' object which is the pre-drawn image on a canvas context object. By altering the 'rendered' object the listener can alter the display results. Since this event gets fired multiple times for the tile, it is wise for the handler to track what their desired modifications are and to tag the 'tile' element to keep track of the modifications already applied.
2014-02-27 15:35:00 -07:00
Ian Gilman
e73e5a9528 Changelog for #336 2014-02-17 09:40:38 -08:00
iangilman
2ca3e52109 Merge pull request #336 from avandecreme/minorbugs
Pass degrees from the viewer to the viewport. Fix #305
2014-02-17 09:39:24 -08:00
Antoine Vandecreme
95c7668f68 Pass degrees from the viewer to the viewport. Fix #305 2014-02-05 15:52:31 -05:00
iangilman
9ecb69e1d8 Merge pull request #310 from msalsbery/Navigator-Resize
Enhanced Navigator Resizability (#280, #296)
2014-01-21 09:04:20 -08:00
Mark Salsbery
6774fca39e Navigator Tests Update
Added tests for resizable navigators.
Fixed typo.
2014-01-21 08:44:04 -08:00
Mark Salsbery
601f533fcf Navigator update with tests update
Navigator hosted in viewer with navigatorMaintainSizeRatio==false (the
default) now maintains its area and aspect ratio.

Tests added for most (all?) navigator configurations.
2014-01-18 18:19:22 -08:00
Mark Salsbery
5c94df34a1 Navigator Tests Update
Removed leftover comments
2014-01-16 12:13:48 -08:00
Mark Salsbery
d874bb63ac Navigator Tests Update
Tests added for all navigator placements.

Work in progress: Adding tests for viewer resizing.
2014-01-16 12:11:35 -08:00
Mark Salsbery
7ce552caf9 Navigator update
Allow navigators hosted in a user-supplied element to be styled by user.
2014-01-13 14:51:22 -08:00
Mark Salsbery
23954d0adf Merge remote-tracking branch 'origin/master' into Navigator-Resize
Conflicts:
	changelog.txt
2014-01-08 14:03:47 -08:00
Ian Gilman
92d22b7199 Changelog for #315 2014-01-08 13:23:32 -08:00
iangilman
850e72644b Merge pull request #315 from IIIF/support_iiif_level1
Support iiif level1
2014-01-08 13:21:27 -08:00
Jon Stroop
ddde07b614 style changes, per @iangilman on openseadragon/openseadragon#315 2014-01-07 14:59:44 -05:00
Jon Stroop
24298dcbba Only require IIIF level 1; Vary tile size based on src image when no tiles are reported. Toward openseadragon/openseadragon#313 2014-01-02 19:59:10 -05:00
Jon Stroop
e9c2b502c1 support iiif level 1 2013-12-18 17:34:39 -05:00
Mark Salsbery
cae29bb144 Merge remote-tracking branch 'origin/master' into Navigator-Resize 2013-12-16 12:53:34 -08:00
iangilman
efaced5446 Merge pull request #311 from wilkinson/master
Simple spelling corrections in comments
2013-12-16 09:39:23 -08:00
Mark Salsbery
1cac9fa533 Navigator cursor fix 2013-12-16 07:17:35 -08:00
Mark Salsbery
1e9ea154f2 Added navigatorAutoResize option
Improved resizable navigator support.
2013-12-14 14:45:11 -08:00
Mark Salsbery
a189ba97d7 Update navigator on full-page/full-screen bug fix 2013-12-14 09:11:14 -08:00
Sean Wilkinson
03e82a7ca3 Corrected spelling in comments 2013-12-13 15:12:35 -06:00
Sean Wilkinson
3d1ba84c4d Corrected simple spelling mistakes in comments 2013-12-13 15:11:00 -06:00
Mark Salsbery
14acb5d581 ABSOLUTE Control bug fix
Wrapped ABSOLUTE positioned controls in a div so fade opacity would work
correctly.

Added 'navigator-scroll' event addition to changelog.
2013-12-13 11:55:36 -08:00
Mark Salsbery
71fb3a5e33 changelog update 2013-12-13 09:44:21 -08:00
Mark Salsbery
3deb20271a Merge remote-tracking branch 'origin/master' into Navigator-Resize 2013-12-13 09:31:19 -08:00
Mark Salsbery
0d29c98df2 Enhanced Navigator Resizability (#280, #296)
New navigator options:

* @property {Boolean} [showNavigator=false]
*     Set to true to make the navigator minimap appear.
*
* @property {Boolean} [navigatorId=navigator-GENERATED DATE]
*     The ID of a div to hold the navigator minimap.
*     If an ID is specified, the navigatorPosition, navigatorSizeRatio,
navigatorMaintainSizeRatio, and navigatorTop|Left|Height|Width options
will be ignored.
*     If an ID is not specified, a div element will be generated and
placed on top of the main image.
*
* @property {String} [navigatorPosition='TOP_RIGHT']
*     Valid values are 'TOP_LEFT', 'TOP_RIGHT', 'BOTTOM_LEFT',
'BOTTOM_RIGHT', or 'ABSOLUTE'.<br>
*     If 'ABSOLUTE' is specified, then navigatorTop|Left|Height|Width
determines the size and position of the navigator minimap in the viewer,
and navigatorSizeRatio and navigatorMaintainSizeRatio are ignored.<br>
*     For 'TOP_LEFT', 'TOP_RIGHT', 'BOTTOM_LEFT', and 'BOTTOM_RIGHT',
the navigatorSizeRatio or navigatorHeight|Width values determine the
size of the navigator minimap.
*
* @property {Number} [navigatorSizeRatio=0.2]
*     Ratio of navigator size to viewer size. Ignored if
navigatorHeight|Width are specified.
*
* @property {Boolean} [navigatorMaintainSizeRatio=false]
*     If true, the navigator minimap is resized (using
navigatorSizeRatio) when the viewer size changes.
*
* @property {Number|String} [navigatorTop=null]
*     Specifies the location of the navigator minimap (see
navigatorPosition).
*
* @property {Number|String} [navigatorLeft=null]
*     Specifies the location of the navigator minimap (see
navigatorPosition).
*
* @property {Number|String} [navigatorHeight=null]
*     Specifies the size of the navigator minimap (see
navigatorPosition).
*     If specified, navigatorSizeRatio and navigatorMaintainSizeRatio
are ignored.
*
* @property {Number|String} [navigatorWidth=null]
*     Specifies the size of the navigator minimap (see
navigatorPosition).
*     If specified, navigatorSizeRatio and navigatorMaintainSizeRatio
are ignored.

Fixes #280 and #296
2013-12-13 09:23:56 -08:00
Ian Gilman
746d53dbc0 Changelog for #308 2013-12-12 10:04:01 -08:00
iangilman
f58b9a735d Merge pull request #308 from wilkinson/master
Enabled basic cross-domain tile loading without tainting canvas
2013-12-12 09:56:57 -08:00
Sean Wilkinson
a5a72ee321 Set image.crossOrigin = 'Anonymous'; to avoid tainted canvas problem 2013-12-11 19:31:35 -06:00
Ian Gilman
86be255c6b Changelog for #304 2013-12-10 09:48:34 -08:00
iangilman
06ef86dfe4 Merge pull request #304 from msalsbery/control-anchor
Added ControlAnchor options for default controls
2013-12-10 09:46:26 -08:00
Mark Salsbery
babfb99be9 Code fix 2013-12-09 10:04:39 -08:00
Ian Gilman
016b7b1fa5 Changelog for #303 2013-12-09 09:43:24 -08:00
iangilman
db81879a0f Merge pull request #303 from msalsbery/Button-Images
Button Image Alignment Fix (#30)
2013-12-09 09:29:23 -08:00
Mark Salsbery
6b6b7f7625 Added ControlAnchor options for default controls 2013-12-06 22:48:49 -08:00
Mark Salsbery
374d0288dd Code cleanup
Removed commented and leftover code
2013-12-06 16:28:49 -08:00
Mark Salsbery
d3bcd0cec8 Better Button Fix
Wrapped the images in a single div and used that as the content of a
button element.
2013-12-06 16:24:52 -08:00
Mark Salsbery
e070475172 Button Tab Index Fix 2013-12-06 15:51:11 -08:00
Mark Salsbery
a6a21d21ae Button Image Alignment Fix (#272, #30)
Changed button element from button to div for consistent rendering
across browsers.
2013-12-06 11:22:51 -08:00
Ian Gilman
dfcb9f381e Added missing comma in code example 2013-12-04 10:22:18 -08:00
Ian Gilman
9a534e276b Added 1.0.1 to changelog 2013-12-03 09:51:24 -08:00
Ian Gilman
6315977852 Updated changelog for 1.0.0 release 2013-12-03 09:43:34 -08:00
iangilman
3c11857116 Merge pull request #297 from msalsbery/jsdoc3-doclets
Documentation Update
2013-12-02 09:47:57 -08:00
Mark Salsbery
8319737afd Documentation Update 2013-12-02 09:23:51 -08:00