summaryrefslogtreecommitdiff
path: root/src/ld-window-main.c
Commit message (Collapse)AuthorAgeFilesLines
* LdWindowMain cleanup.Přemysl Janouch2010-12-121-73/+54
| | | | | | | | | | * 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.
* Add a main toolbar.Přemysl Janouch2010-12-111-17/+24
| | | | So far it has no special powers. This should change in the future.
* Add a "human-name" property to LdSymbolCategory.Přemysl Janouch2010-12-111-3/+3
| | | | | | | Just as LdSymbol has a human name for localization purposes, LdSymbolCategory also needs to have this property. Use the human name in tooltips.
* Implement more of LdCanvas.Přemysl Janouch2010-12-101-3/+7
| | | | | | | | | | 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.
* Change LdSymbolArea members.Přemysl Janouch2010-12-101-2/+2
| | | | | | Now it contains coordinates of the top-left delimiting point and computed dimensions (instead of coorinates of both delimiting points).
* Initial LdDocument implementation.Přemysl Janouch2010-12-051-0/+3
| | | | The document maintains a list of LdDocumentObject objects.
* Added basic onscreen symbol menu.Přemysl Janouch2010-11-161-21/+352
| | | | | | So far it does not add symbols to the document, as there is momentarily no interface for neither the document nor the canvas.
* Formatting and naming changes in LdWindowMain.Přemysl Janouch2010-10-281-41/+29
|
* Manage LdLibrary children in a GSList.Přemysl Janouch2010-10-261-8/+11
| | | | | | | | | 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.
* Redesign the library and related components.Přemysl Janouch2010-10-261-4/+6
| | | | | | | | | 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.
* Renamed LdSymbolLibrary to LdLibrary.Přemysl Janouch2010-10-171-4/+4
|
* Implemented a skeleton of LdCanvas.Přemysl Janouch2010-09-201-1/+1
| | | | | It now paints itself white and draws a simple grid. Also an LdDocument can be assigned to it.
* Little improvements, overall cleanup.Přemysl Janouch2010-09-191-49/+82
|
* Changed the object prefix from "logdiag" to "ld".Přemysl Janouch2010-09-191-32/+32
| | | | It was just too long to type and read. My mistake.
* Renamed source files.Přemysl Janouch2010-09-191-0/+351
Also a little change in CMakeLists.txt. The next commit is going to change the object prefix.