Rename LevelKeyboard to Layout

This commit is contained in:
Dorota Czaplejewicz
2022-11-28 13:07:37 +00:00
parent e9cc20106b
commit 9c9f371f91
8 changed files with 21 additions and 24 deletions

View File

@ -39,17 +39,14 @@ struct keymap {
};
/// Keyboard info holder
struct _LevelKeyboard {
struct _Layout {
char style_name[20]; // The name of the css class on layout
struct squeek_layout *layout; // owned
};
typedef struct _LevelKeyboard LevelKeyboard;
gchar *eek_keyboard_get_keymap(LevelKeyboard *keyboard);
LevelKeyboard*
level_keyboard_new (char *style_name, struct squeek_layout *layout);
void level_keyboard_free(LevelKeyboard *self);
Layout*
layout_new (char *style_name, struct squeek_layout *layout);
void layout_free(Layout *self);
G_END_DECLS
#endif /* EEK_KEYBOARD_H */