https://redmine.graphics-muse.org/https://redmine.graphics-muse.org/favicon.ico?16278048512017-03-09T22:35:49ZGraphics Muse Issue Trackerpiclock - Action Item #569: PiClock updateshttps://redmine.graphics-muse.org/issues/569?journal_id=20922017-03-09T22:35:49ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Project</strong> changed from <i>PiBox</i> to <i>piclock</i></li></ul> piclock - Action Item #569: PiClock updateshttps://redmine.graphics-muse.org/issues/569?journal_id=20992017-03-28T22:47:16ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li></ul><p>Scaling process</p>
<ul>
<li>Compute scaled percentage of face to fit it's drawing area the first time it is used.</li>
<li>Use percentage to scale hands and overlay the first time they are used.</li>
<li>Scale only once, then set flag to say scaling has been done. </li>
<li>Gen the cairo surface after the scaling has been done and save it.</li>
</ul>
<p>Scaling should be done on the gdk_pixbuf and then the new pixbuf replaces the old one. The pixbuf is then used as a source for a cairo surface.</p>
<p>This will require moving the bottom half of loadtheme into the widget code, which is really where it belongs anyway.</p> piclock - Action Item #569: PiClock updateshttps://redmine.graphics-muse.org/issues/569?journal_id=22742018-07-29T04:54:56ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Severity</strong> changed from <i>02 - High</i> to <i>05 - Very Low</i></li></ul> piclock - Action Item #569: PiClock updateshttps://redmine.graphics-muse.org/issues/569?journal_id=24192019-01-31T23:12:01ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Target version</strong> changed from <i>0.12.0</i> to <i>1.1.0 - Upgrades</i></li></ul> piclock - Action Item #569: PiClock updateshttps://redmine.graphics-muse.org/issues/569?journal_id=26542020-02-09T16:23:08ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/2654/diff?detail_id=3037">diff</a>)</li></ul> piclock - Action Item #569: PiClock updateshttps://redmine.graphics-muse.org/issues/569?journal_id=26552020-02-09T23:51:32ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>10</i> to <i>100</i></li></ul><p>This was a little easier than I expected. I didn't need to ask libpibox for dimensions since the analog clock is in a widget and I can get window sizes at realize time.</p>
<p>The only problem is that scaling the hands doesn't quite work because the x/y center offset (around which rotations are handled) doesn't quite work if scaled by the same amount. There is some squiggly math problem there that I didn't feel like digging into because the displays work on a standard monitor and the Pi touchscreen just fine.</p>
<p>Changes committed and pushed.</p>
<p>Closing issue.</p>