mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Refactor out wlr_tablet_pad_state
This commit is contained in:
parent
53e7bebd23
commit
a289940bff
4 changed files with 16 additions and 14 deletions
|
|
@ -3,11 +3,11 @@
|
|||
#include <wlr/types/wlr_tablet_pad.h>
|
||||
|
||||
struct wlr_tablet_pad_impl {
|
||||
void (*destroy)(struct wlr_tablet_pad_state *pad);
|
||||
void (*destroy)(struct wlr_tablet_pad *pad);
|
||||
};
|
||||
|
||||
struct wlr_tablet_pad *wlr_tablet_pad_create(struct wlr_tablet_pad_impl *impl,
|
||||
struct wlr_tablet_pad_state *state);
|
||||
void wlr_tablet_pad_init(struct wlr_tablet_pad *pad,
|
||||
struct wlr_tablet_pad_impl *impl);
|
||||
void wlr_tablet_pad_destroy(struct wlr_tablet_pad *pad);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,11 +11,9 @@
|
|||
*/
|
||||
|
||||
struct wlr_tablet_pad_impl;
|
||||
struct wlr_tablet_pad_state;
|
||||
|
||||
struct wlr_tablet_pad {
|
||||
struct wlr_tablet_pad_impl *impl;
|
||||
struct wlr_tablet_pad_state *state;
|
||||
|
||||
struct {
|
||||
struct wl_signal button;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue