| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Kill the "Export" action for now.
|
| |
|
| |
|
|
|
|
| |
For consistency with GTK+.
|
| |
|
| |
|
| |
|
|
|
|
| |
Make LdDiagramObject a regular class.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
$ time (make clean; make)
Before: ~8.0 seconds
After: ~8.1 seconds
|
| |
|
| |
|
|
|
|
| |
Previously the icons have been black in all themes.
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove LdCanvasRect and LdSymbolArea.
|
| |
|
| |
|
|
|
|
|
|
| |
This required creating a simple framework for operations to LdCanvas.
It is probable that it's going to require some changes when other
operations are added. The basic idea behind it seems to be good, though.
|
|
|
|
|
|
|
|
|
| |
This way when the user clicks outside the menu when it is open,
the menu will close itself first.
Keyboard input is however still not handled.
The symbol menu should be redesigned.
|
|
|
|
| |
My bad; this name is much more appropriate.
|
|
|
|
|
|
|
| |
* Now diagrams can be created, loaded and saved.
* Define descriptions and accelerators for actions.
* Set irrelevant actions unsensitive.
* Also remove redundant comments for clarity.
|
|
|
|
|
|
|
|
|
|
| |
* Restructure the initialization code.
* Move LdCanvas event mask setting to ld-canvas.c.
* Remove some redundant code.
* Use consistent naming.
* Update comments.
Practically no functional change.
|
|
|
|
| |
So far it has no special powers. This should change in the future.
|
|
|
|
|
|
|
| |
Just as LdSymbol has a human name for localization purposes,
LdSymbolCategory also needs to have this property.
Use the human name in tooltips.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Now it contains coordinates of the top-left delimiting
point and computed dimensions (instead of coorinates of
both delimiting points).
|
|
|
|
| |
The document maintains a list of LdDocumentObject objects.
|
|
|
|
|
|
| |
So far it does not add symbols to the document,
as there is momentarily no interface for neither
the document nor the canvas.
|
| |
|
|
|
|
|
|
|
|
|
| |
The previous method of containment, that is using GHashTable,
did not list children in any particular order.
Also names of children were duplicated. One copy has been
stored as a hash table index and another was present in the
child itself.
|
|
|
|
|
|
|
|
|
| |
This step is needed, since the current design is quite chaotic
and it would not be possible to finish the application.
There's still a lot to be done.
After this step, it's time to implement the rest of LdLua.
|
| |
|
|
|
|
|
| |
It now paints itself white and draws a simple grid.
Also an LdDocument can be assigned to it.
|
| |
|
|
|
|
| |
It was just too long to type and read. My mistake.
|
|
Also a little change in CMakeLists.txt.
The next commit is going to change the object prefix.
|