From dd72b1c91895058d14bd13c3aa9a50bd75f633b6 Mon Sep 17 00:00:00 2001 From: Yuta Doi Date: Fri, 29 Jun 2018 09:31:46 +0900 Subject: Add configuration file for each area sizes Add areas.db which has each area sizes. less-than-0 values refer to (MAX + 1 - $VALUE) and MAX is either screen width or height. layers.json had each area sizes until now, so removed the sizes from it. Change-Id: I5cf283581daaca41e2b9e3ee6e947478bff1189c Signed-off-by: Yuta Doi --- src/json_helper.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/json_helper.hpp') diff --git a/src/json_helper.hpp b/src/json_helper.hpp index 38b3c8c..2f6b817 100644 --- a/src/json_helper.hpp +++ b/src/json_helper.hpp @@ -29,6 +29,7 @@ json_object *to_json(std::vector const &v); namespace jh { const char* getStringFromJson(json_object* obj, const char* key); +int getIntFromJson(json_object *obj, const char *key); int inputJsonFilie(const char* file, json_object** obj); } // namespace jh -- cgit 1.2.3-korg