summaryrefslogtreecommitdiff
path: root/src/ld-lua.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce LdRectangle, LdPoint and LdPointArray.Přemysl Janouch2011-01-081-2/+3
| | | | Remove LdCanvasRect and LdSymbolArea.
* Export more cairo methods to Lua.Přemysl Janouch2011-01-071-43/+129
|
* Export cairo_{get,set}_line_width to Lua symbols.Přemysl Janouch2011-01-051-1/+37
|
* Move lines around. No functional change.Přemysl Janouch2011-01-041-32/+28
|
* Overall cleanup.Přemysl Janouch2010-12-161-0/+3
| | | | | | | | | * Add missing asserts to exported functions. * Unify formatting. * Fix the gtk-doc comment for ld_symbol_category_set_human_name(). * Make ld_library_load() reflect it's declaration. * Remove an unused variable in ld_library_load_cb(). * Change all char's to gchar's.
* Change LdSymbolArea members.Přemysl Janouch2010-12-101-4/+11
| | | | | | Now it contains coordinates of the top-left delimiting point and computed dimensions (instead of coorinates of both delimiting points).
* Random fixes.Přemysl Janouch2010-12-051-2/+2
| | | | Mostly found by -Wextra.
* Made Lua symbol registration more robust.Přemysl Janouch2010-10-281-36/+84
|
* Separate LdLua and LdSymbolCategory.Přemysl Janouch2010-10-271-16/+21
| | | | | | | Originally, ld_lua_load_file_to_category() was adding registered symbols into a passed LdSymbolCategory object. This interface has been rewritten to be more generic by using callbacks to notify about new symbols.
* Implement parts of Lua symbol registration.Přemysl Janouch2010-10-271-5/+80
| | | | The human name and area now gets resolved.
* Add more properties to LdSymbol.Přemysl Janouch2010-10-271-10/+6
| | | | | Also move the actual storage of symbol properties to implementations of the abstract LdSymbol class. All the properties are read only.
* Redesign and implement the basic parts of LdLua.Přemysl Janouch2010-10-261-33/+158
| | | | | There's a very strong bond between LdLua and LdLuaSymbol. LdLuaSymbol is more like an interface to LdLua than a separate object.
* Make LdLibrary call LdLua to load symbol scripts.Přemysl Janouch2010-10-261-1/+2
|
* Redesign the library and related components.Přemysl Janouch2010-10-261-2/+3
| | | | | | | | | 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.
* Implement part of LdLuaSymbol.Přemysl Janouch2010-10-171-1/+1
| | | | | | | The "new" method requires to be passed a parameter that makes it possible to call the appropriate render function. Stub-plemented the "draw" method.
* Implement a few bits of LdLua.Přemysl Janouch2010-10-171-16/+143
| | | | Some comments in the source code have been updated.
* Created LdLua class.Přemysl Janouch2010-10-171-26/+79
|
* Renamed LdSymbolLibrary to LdLibrary.Přemysl Janouch2010-10-171-1/+1
|
* WIP: Refactoring of the library and symbolsPřemysl Janouch2010-10-171-0/+195