diff --git a/src/README.md b/src/README.md index 9c13f2997..0aafeee57 100644 --- a/src/README.md +++ b/src/README.md @@ -16,37 +16,41 @@ because they don't depend on any other component. * [allegro](allegro/): Modified version of [Allegro](http://alleg.sourceforge.net/) library, used for keyboard/mouse input, and drawing 2D graphics on screen. * [base](base/): Core/basic stuff, multithreading, utf8, sha1, file system, memory, etc. * [css](css/): Pseudo-style sheet library. - * [flic](flic/): Library to load/save FLI/FLC files - * [gfx](gfx/): Abstract graphics structures like point, size, rectangle, region, color, etc. + * [fixmath](fixmath/): Fixed point operations (original code from Allegro code by Shawn Hargreaves). + * [flic](flic/): Library to load/save FLI/FLC files. * [scripting](scripting/): JavaScript engine ([V8](https://code.google.com/p/v8/)). * [undo](undo/): Generic library to manage a history of undoable commands. ## Level 1 * [cfg](cfg/) (base): Library to load/save .ini files. - * [doc](doc/) (base, gfx): Document model library. * [gen](gen/) (base): Helper utility to generate C++ files from different XMLs. + * [gfx](gfx/) (fixmath): Abstract graphics structures like point, size, rectangle, region, color, etc. * [net](net/) (base): Networking library to send HTTP requests. - * [she](she/) (base, gfx, allegro): A wrapper for the Allegro library. * [webserver](webserver/) (base): HTTP web server (based on [mongoose](https://github.com/valenok/mongoose)) ## Level 2 - * [filters](filters/) (base, doc, gfx): Effects for images. - * [render](render/) (base, gfx, doc): Library to render documents. - * [ui](ui/) (base, gfx, she): Portable UI library (buttons, windows, text fields, etc.) - * [updater](updater/) (base, net): Component to check for updates. + * [doc](doc/) (base, fixmath, gfx): Document model library. + * [she](she/) (allegro, base, gfx): A wrapper for the Allegro library. ## Level 3 - * [iff](iff/) (base, doc, render): Image File Formats library (load/save documents). + * [filters](filters/) (base, doc, gfx): Effects for images. + * [render](render/) (base, doc, gfx): Library to render documents. + * [ui](ui/) (base, gfx, she): Portable UI library (buttons, windows, text fields, etc.) + * [updater](updater/) (base, net): Component to check for updates. ## Level 4 - * [app](app/) (allegro, base, doc, filters, gfx, iff, render, scripting, she, ui, undo, updater, webserver) + * [iff](iff/) (base, doc, render): Image File Formats library (load/save documents). ## Level 5 + * [app](app/) (allegro, base, doc, filters, fixmath, gfx, iff, render, scripting, she, ui, undo, updater, webserver) + +## Level 6 + * [main](main/) (app, base, she, ui) # Debugging Tricks diff --git a/src/doc/CMakeLists.txt b/src/doc/CMakeLists.txt index 557a8aafb..e74b4db10 100644 --- a/src/doc/CMakeLists.txt +++ b/src/doc/CMakeLists.txt @@ -59,4 +59,5 @@ add_library(doc-lib target_link_libraries(doc-lib she gfx-lib + fixmath-lib base-lib) diff --git a/src/gfx/CMakeLists.txt b/src/gfx/CMakeLists.txt index eb8a26c1a..c93a53145 100644 --- a/src/gfx/CMakeLists.txt +++ b/src/gfx/CMakeLists.txt @@ -10,4 +10,5 @@ add_library(gfx-lib transformation.cpp) target_link_libraries(gfx-lib + fixmath-lib ${PIXMAN_LIBRARY})