wacom: Port to GTK4
Many part of this commit were made by Carlos Garnacho <carlosg@gnome.org> WIP wacom: Port to GTK4 Lots of stuff missing and probably broken. wacom: Port CcDrawingArea input to gestures We have a handy GtkGestureStylus to use here, which avoids direct handling of GdkEvents. wacom: Update current stylus tracking to GtkGestureStylus Use the ::proximity signal to notice when we are being hovered with a tablet stylus, and look up the tool from there.
This commit is contained in:
parent
f598fb3ed6
commit
816e6203e3
23 changed files with 564 additions and 1000 deletions
|
@ -63,7 +63,7 @@ extern GType cc_bolt_panel_get_type (void);
|
|||
extern GType cc_ua_panel_get_type (void);
|
||||
//extern GType cc_user_panel_get_type (void);
|
||||
#ifdef BUILD_WACOM
|
||||
//extern GType cc_wacom_panel_get_type (void);
|
||||
extern GType cc_wacom_panel_get_type (void);
|
||||
#endif /* BUILD_WACOM */
|
||||
#ifdef BUILD_WWAN
|
||||
//extern GType cc_wwan_panel_get_type (void);
|
||||
|
@ -81,7 +81,7 @@ extern void cc_diagnostics_panel_static_init_func (void);
|
|||
//extern void cc_wifi_panel_static_init_func (void);
|
||||
#endif /* BUILD_NETWORK */
|
||||
#ifdef BUILD_WACOM
|
||||
//extern void cc_wacom_panel_static_init_func (void);
|
||||
extern void cc_wacom_panel_static_init_func (void);
|
||||
#endif /* BUILD_WACOM */
|
||||
#ifdef BUILD_WWAN
|
||||
//extern void cc_wwan_panel_static_init_func (void);
|
||||
|
@ -135,7 +135,7 @@ static CcPanelLoaderVtable default_panels[] =
|
|||
PANEL_TYPE("usage", cc_usage_panel_get_type, NULL),
|
||||
//PANEL_TYPE("user-accounts", cc_user_panel_get_type, NULL),
|
||||
#ifdef BUILD_WACOM
|
||||
//PANEL_TYPE("wacom", cc_wacom_panel_get_type, cc_wacom_panel_static_init_func),
|
||||
PANEL_TYPE("wacom", cc_wacom_panel_get_type, cc_wacom_panel_static_init_func),
|
||||
#endif
|
||||
#ifdef BUILD_WWAN
|
||||
//PANEL_TYPE("wwan", cc_wwan_panel_get_type, cc_wwan_panel_static_init_func),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue