Mercurial > malikania
comparison docs/CMakeLists.txt @ 98:f4d23ad4aa27
Common: refactoring class mlk::size
1. Make uniform size representation in JSON format:
{
"width": 100,
"height": 200
}
The Javascript API was using this form while an array was used in loaders.
2. Create brand new functions in util::json to parse mlk::size objects,
Updated util::json::require_(u)int as well.
3. Add new tests for mlk::size object,
4. Get rid of utilities in loader as they are in util::json instead.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 04 Jul 2017 13:23:15 +0200 |
parents | 7377a3d8600d |
children | 0addfab87b17 |
comparison
equal
deleted
inserted
replaced
97:7377a3d8600d | 98:f4d23ad4aa27 |
---|---|
26 add_custom_target( | 26 add_custom_target( |
27 docs | 27 docs |
28 ALL | 28 ALL |
29 COMMENT "Generating documentation" | 29 COMMENT "Generating documentation" |
30 SOURCES | 30 SOURCES |
31 ${docs_SOURCE_DIR}/specs/size.md | |
31 ${docs_SOURCE_DIR}/specs/sprite.md | 32 ${docs_SOURCE_DIR}/specs/sprite.md |
32 ) | 33 ) |
33 | 34 |
34 # | 35 # |
35 # Doxygen generation. | 36 # Doxygen generation. |