summaryrefslogtreecommitdiffstats
path: root/src/layers.hpp
AgeCommit message (Collapse)AuthorFilesLines
2017-09-04clang-formatMarcus Fritzsch1-8/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04Implement surface namesMarcus Fritzsch1-4/+28
* request_surface(name: string) -> id: int. * activate_surface(name: string). * names will be mapped to their respective layers by use of the layers' surface rola match, a regex. * the generated IDs are global and not reused. * allow wp-request to use -p, disable use of pygments even if found. Things missing: * surface removal does not remove already established mappings/names. * Mostly untested. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08remove some unnuecessary commentsMarcus Fritzsch1-4/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app/api: add demo_activate_surface() api_bindingMarcus Fritzsch1-0/+1
* Added "main_surface" entry to layers.json. * This surface is never made invisible by activate_surface(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08add license text to implementation filesMarcus Fritzsch1-0/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: add layer and layer_map to_json() helperMarcus Fritzsch1-0/+8
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: rename surface_id_to_layer and surface_id_to_layer_mapMarcus Fritzsch1-10/+9
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layer: document intentions of layer structureMarcus Fritzsch1-0/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08minor clang-formatMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: implement configured surface areas from ids.jsonMarcus Fritzsch1-0/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: clang-formatMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: provide a layers-only vectorMarcus Fritzsch1-0/+5
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: move get_layer_for_surface() to .cppMarcus Fritzsch1-20/+5
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: introduce layers.hpp and .cpp for layer related codeMarcus Fritzsch1-0/+59
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>