aseprite/src
2014-06-15 04:14:53 -03:00
..
allegro Fix double-click issues 2014-04-26 11:09:59 -03:00
app Add "dots" freehand algorithm (change to ButtonSet the selection of FreehandAlgorithm) 2014-06-15 04:14:53 -03:00
base Simplify slot disconnections with the new Connection and ScopedConnection classes 2014-06-12 22:29:19 -03:00
css
doc
filters
gfx
iff
main Change default location of aseprite.ini on Windows platform 2014-06-13 23:04:00 -03:00
net
raster Fix ase_parallelogram_map_standard for RGB/Grayscale for mask with alpha=0 2014-06-14 21:30:01 -03:00
scripting
she Minor fix in she::Event::type() return type 2014-06-14 00:49:06 -03:00
tests
ui Fix issue loading negative splitter position 2014-05-25 16:34:26 -03:00
undo Fix issue #394 - crash when we cancel the file save operation 2014-05-02 17:04:55 -03:00
updater Add CUSTOM_WEBSITE_URL option to test a local webserver 2014-06-02 21:31:44 -03:00
webserver
CMakeLists.txt Add CUSTOM_WEBSITE_URL option to test a local webserver 2014-06-02 21:31:44 -03:00
config.h New version 1.0.1 in dev 2014-06-09 22:05:19 -03:00
README.md Update src/README.md 2014-06-14 00:50:10 -03:00

Aseprite Source Code

If you are here is because you want to learn about Aseprite source code. I'll try to write in these README.md files a summary of each module/library.

Modules & Libraries

Aseprite is separated in the following layers/modules:

Level 0: Completely independent modules

These libraries are easy to be used and embedded in other software because they don't depend on any other component.

  • allegro: Modified version of Allegro library, used for keyboard/mouse input, and drawing 2D graphics on screen.
  • base: Core/basic stuff, multithreading, utf8, sha1, file system, memory, etc.
  • css: Style sheet library.
  • gfx: Abstract graphics structures like point, size, rectangle, region, color, etc.
  • scripting: JavaScript engine (V8).
  • undo: Generic library to manage undo history of undoable actions.

Level 1

  • cfg (base, allegro): Library to handle configuration/settings/user preferences.
  • doc (base, gfx): Document model library (business layer, replacement of raster library).
  • net (base): Networking library to send HTTP requests.
  • raster (base, gfx): Library to handle graphics entities like sprites, images, frames.
  • she (allegro): A (Work In Progress) wrapper for Allegro library.
  • webserver (base): HTTP web server (based on mongoose)

Level 2

  • filters (base, gfx, raster): FX for raster images.
  • iff (base, doc): Image File Formats library (load/save documents).
  • ui (base, gfx, she): Portable UI library (buttons, windows, text fields, etc.)
  • updater (base, net): Component to check for updates.

Level 3

  • app (allegro, base, doc, filters, gfx, iff, raster, scripting, she, ui, undo, updater, webserver)

Level 4

  • main (app, base, she, ui)