ssd: Move implementation details from ssd.h to ssd-internal.h

- Move private structs and functions to `ssd-internal.h`
- Add `ssd_button_get_type()` and `ssd_button_get_view()`
This commit is contained in:
John Lindgren 2022-11-26 16:53:35 -05:00 committed by Johan Malm
parent 1e8b0414fe
commit b67eccc99a
8 changed files with 166 additions and 140 deletions

View file

@ -352,8 +352,8 @@ get_cursor_context(struct server *server)
struct ssd_button *button =
node_ssd_button_from_node(node);
ret.node = node;
ret.type = button->type;
ret.view = button->view;
ret.type = ssd_button_get_type(button);
ret.view = ssd_button_get_view(button);
return ret;
}
case LAB_NODE_DESC_LAYER_SURFACE: