Přemysl Eric Janouch
1277b6eaaf
Add support for LdDiagramConnection to LdCanvas.
...
Heavy LdCanvas refactoring, some modifications to ld-types.
It just wasn't possible for me to further work with an old,
2000 lines long file without shuffling everything around
at the same time.
2011-02-07 01:10:17 +01:00
Přemysl Eric Janouch
107ec13506
Fix a memory leak in LdDiagramSymbol.
2011-02-06 17:57:37 +01:00
Přemysl Eric Janouch
7f08a51c66
Extend symbol area to whole pixels.
...
This gives better cairo performance.
2011-02-06 12:36:11 +01:00
Přemysl Eric Janouch
2dcf578c12
Use correct rounding when moving selection.
2011-02-05 20:17:39 +01:00
Přemysl Eric Janouch
611b11508a
Make grid dots pixel-sharp.
2011-02-05 18:52:51 +01:00
Přemysl Eric Janouch
3cec64ebe8
Refactor ld-canvas.c, extend LdCanvas operations.
...
Now objects can be selected and moved by dragging the mouse.
2011-02-05 18:48:11 +01:00
Přemysl Eric Janouch
2b0672a2cb
Implement zooming in LdWindowMain.
...
Add convenience methods to LdCanvas.
2011-02-04 20:19:01 +01:00
Přemysl Eric Janouch
75c2358b69
Extend LdPointArray.
2011-02-02 23:53:38 +01:00
Přemysl Eric Janouch
539f537846
Fix drawing of the grid.
2011-02-01 17:21:08 +01:00
Přemysl Eric Janouch
a967a2c3b8
Bind actions to cursor keys in LdCanvas.
...
If there's a selection, move it. Otherwise move the viewport.
2011-02-01 14:52:48 +01:00
Přemysl Eric Janouch
cf3e4ae473
Fix program messages and gtk-doc comments.
2011-01-28 17:50:21 +01:00
Přemysl Eric Janouch
b782dae4b2
Make ld_canvas_new() return a GtkWidget reference.
...
For consistency with GTK+.
2011-01-24 17:22:37 +01:00
Přemysl Eric Janouch
5d766cba77
Rename g_cclosure_user_marshal_* to ld_marshal_*.
2011-01-24 17:18:28 +01:00
Přemysl Eric Janouch
9a49a2219a
Fix gtk-doc comments for signals.
2011-01-23 15:52:52 +01:00
Přemysl Eric Janouch
60a00e3551
Refactor LdDiagram selection handling methods.
...
Add ld_diagram_remove_selection().
2011-01-16 18:33:19 +01:00
Přemysl Eric Janouch
6854c8a643
Revert the order of LdDiagram objects.
...
Now they go from oldest to newest.
2011-01-16 14:33:52 +01:00
Přemysl Eric Janouch
cb278a2bf1
Use properties instead of accessor methods.
2011-01-16 14:22:21 +01:00
Přemysl Eric Janouch
616c49a505
Make a separate library.
...
This is required for gtkdoc-scangobj. So far it's much like it's been
before, the main differences are that source files are in two directories
from now on and the build process has two stages.
2011-01-10 17:07:02 +01:00