aboutsummaryrefslogtreecommitdiff
path: root/src/ld-window-main.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the dependency on LdCanvas.library-toolbar-rewritePřemysl Janouch2012-01-291-2/+0
| | | | GDK grabbing doesn't work on Windows, though.
* Integrate GSettings, remember View settings.Přemysl Janouch2011-06-121-0/+15
| | | | | | | | | | | The org.logdiag ID has been chosen as I haven't found any specific rules and com.github.logdiag seems not to be future-proof. This domain remains available so far, anyway. The schemas are compiled only when installed directly to CMAKE_INSTALL_PREFIX to the root filesystem. When invoking `make install` with DESTDIR, only the XML files are copied over as the schemas would have to be recompiled later anyway.
* Add toggle actions to the View menu.Přemysl Janouch2011-03-071-1/+45
| | | | So far these settings are not saved anywhere.
* Update translations.Přemysl Janouch2011-03-041-0/+1
| | | | Add translators to the About dialog.
* Disable LdDiagramView scrollbars when not needed.Přemysl Janouch2011-02-201-0/+2
|
* Reset view to center for new diagrams.Přemysl Janouch2011-02-191-1/+2
|
* Open files from command line.Přemysl Janouch2011-02-191-2/+9
|
* Rename LdCanvas to LdDiagramView.Přemysl Janouch2011-02-191-25/+26
|
* Various changes to LdWindowMain.Přemysl Janouch2011-02-131-41/+54
| | | | | | * Convert filenames from system locale. * Internationalize. * Split diagram_show_open_dialog().
* Update translation template.Přemysl Janouch2011-02-121-1/+1
|
* Change the way translations are done.Přemysl Janouch2011-02-121-35/+37
| | | | | * Require gettext-tools to build. * Depend on libintl on Win32.
* Define github as the homepage for logdiag.Přemysl Janouch2011-02-071-0/+1
|
* Implement zooming in LdWindowMain.Přemysl Janouch2011-02-041-6/+45
| | | | Add convenience methods to LdCanvas.
* Offer the undo functionality in LdWindowMain.Přemysl Janouch2011-02-011-11/+53
| | | | Kill the "Export" action for now.
* Add some reminder comments.Přemysl Janouch2011-01-291-0/+1
|
* Fix program messages and gtk-doc comments.Přemysl Janouch2011-01-281-16/+9
|
* Make ld_canvas_new() return a GtkWidget reference.Přemysl Janouch2011-01-241-1/+1
| | | | For consistency with GTK+.
* Move the library toolbar to its own class.Přemysl Janouch2011-01-241-507/+52
|
* Include liblogdiag.h as it was an external lib.Přemysl Janouch2011-01-241-1/+1
|
* Handle Edit menu actions (Delete, Select All).Přemysl Janouch2011-01-161-3/+30
|
* Use JsonObject for LdDiagramObject parameters.Přemysl Janouch2011-01-151-1/+2
| | | | Make LdDiagramObject a regular class.
* Make a separate library.Přemysl Janouch2011-01-101-3/+0
| | | | | | 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.
* Use a central header.Přemysl Janouch2011-01-101-11/+1
| | | | | | | $ time (make clean; make) Before: ~8.0 seconds After: ~8.1 seconds
* Fix drawing of symbol menus.Přemysl Janouch2011-01-101-6/+7
|
* Show names of symbols in the statusbar.Přemysl Janouch2011-01-101-11/+27
|
* Draw category icons with style colors.Přemysl Janouch2011-01-101-4/+52
| | | | Previously the icons have been black in all themes.
* Add a View menu to LdWindowMain, disabled so far.Přemysl Janouch2011-01-091-1/+13
|
* Fix comments.Přemysl Janouch2011-01-091-1/+1
|
* Ensure that the canvas is focused.Přemysl Janouch2011-01-091-0/+5
|
* Introduce LdRectangle, LdPoint and LdPointArray.Přemysl Janouch2011-01-081-1/+2
| | | | Remove LdCanvasRect and LdSymbolArea.
* Update copyright years.Přemysl Janouch2011-01-071-2/+2
|
* Move lines around. No functional change.Přemysl Janouch2011-01-041-6/+6
|
* Make adding symbols to the diagram possible.Přemysl Janouch2011-01-041-1/+19
| | | | | | 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.
* Make the symbol menu grab focus.Přemysl Janouch2010-12-181-1/+38
| | | | | | | | | 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.
* Rename LdDocument* to LdDiagram*.Přemysl Janouch2010-12-161-17/+17
| | | | My bad; this name is much more appropriate.
* Implement diagram operations in UI.Přemysl Janouch2010-12-161-47/+460
| | | | | | | * Now diagrams can be created, loaded and saved. * Define descriptions and accelerators for actions. * Set irrelevant actions unsensitive. * Also remove redundant comments for clarity.
* 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.