diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2010-12-07 00:59:05 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2010-12-10 22:36:41 +0100 |
commit | 3419680f2523414d4ac7349232eb92b627dd993a (patch) | |
tree | 12732dbe05f81d3a2a866446913b5bc5b15de25a /share/library/Passive/resistor.lua | |
parent | 37d898fb1a29f074747dbd9c81d6e2ad97d2e23e (diff) | |
download | logdiag-3419680f2523414d4ac7349232eb92b627dd993a.tar.gz logdiag-3419680f2523414d4ac7349232eb92b627dd993a.tar.xz logdiag-3419680f2523414d4ac7349232eb92b627dd993a.zip |
Implement more of LdCanvas.
1. Add methods for coordinate translation between cairo/GtkWidget
coordinates and LdDocument coordinates.
2. Draw the grid correctly (also make it significantly faster).
3. Place the canvas into a GtkScrolledWindow and register
the set_scroll_adjustments signal in the GtkWidget base class.
4. Allow scrolling inside of an area of 200 x 200 units (for now).
In the future, it should be possible to go to infinity.
Diffstat (limited to 'share/library/Passive/resistor.lua')
0 files changed, 0 insertions, 0 deletions