Mercurial > hg > digilib-old
changeset 454:96bf096d9ab3
ongoing experimental intermediary release
- calibration and scale modes are working
author | robcast |
---|---|
date | Mon, 30 Jan 2006 16:02:04 +0100 |
parents | 211155a109ed |
children | 9c16290e6f44 |
files | client/digitallibrary/greyskin/baselib.js client/digitallibrary/greyskin/diginew.css |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client/digitallibrary/greyskin/baselib.js Tue Jan 24 21:17:44 2006 +0100 +++ b/client/digitallibrary/greyskin/baselib.js Mon Jan 30 16:02:04 2006 +0100 @@ -333,6 +333,7 @@ } return traf; } +Transform.prototype.getRotation = getRotation; function getTranslation(pos) { // returns a Transform that is a translation by [pos.x, pos,y] var traf = new Transform(); @@ -340,6 +341,7 @@ traf.m12 = pos.y; return traf; } +Transform.prototype.getTranslation = getTranslation; function getScale(size) { // returns a Transform that is a scale by [size.width, size.height] var traf = new Transform(); @@ -347,6 +349,7 @@ traf.m11 = size.height; return traf; } +Transform.prototype.getScale = getScale; /*
--- a/client/digitallibrary/greyskin/diginew.css Tue Jan 24 21:17:44 2006 +0100 +++ b/client/digitallibrary/greyskin/diginew.css Mon Jan 30 16:02:04 2006 +0100 @@ -155,6 +155,7 @@ div#calibration { background: url('blue.png'); position: absolute; + width: 400px; padding: 0px; visibility: hidden; z-index: 1000; @@ -177,7 +178,7 @@ font-weight: bold; } -div#sizes { +div.popup-menu { position: absolute; padding: 0px 2px; font-family: Verdana, Arial, Helvetica, sans-serif; @@ -188,16 +189,16 @@ z-index: 1005; } -div#sizes p { +div.popup-menu p { margin: 2px 0px; padding: 0px; } -div#sizes p:hover { +div.popup-menu p:hover { background-color: #ffa060; } -div#sizes a { +div.popup-menu a { text-decoration: none; color: black; }